ldj/Model/wms/tables/WmsSyncLog.cs

53 lines
952 B
C#

/// <summary>
///INTERFACE CLASS FOR TABLE t_wmsSyncLog
///By wm
///on 07/12/2020
/// </summary>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace DeiNiu.wms.Data.Model
{
[Serializable]
public class WmsSyncLog : WmsSyncLog_base
{
public WmsSyncLog()
{
}
public WmsSyncLog(int id): base(id)
{
}
public WmsSyncLog(DataRow dr): base(dr)
{
}
protected override void getImp()
{
model_imp = new WmsSyncLog_Imp();
}
//begin cust db operation, query, excute sql etc.
public DataSet QueryByName(string name)
{
cmdParameters[0] = name;
return CustQuery(100);
}
public void AddLog()
{
if (CustOper(200) == 0)
{
Add();
}
}
}
}