54 lines
973 B
C#
54 lines
973 B
C#
|
|
/// <summary>
|
|
///INTERFACE CLASS FOR TABLE t_Owner
|
|
///By wm
|
|
///on 08/03/2018
|
|
/// </summary>
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Data;
|
|
|
|
namespace DeiNiu.wms.Data.Model
|
|
{
|
|
[Serializable]
|
|
public class Owner : Owner_base
|
|
{
|
|
public Owner()
|
|
{
|
|
|
|
}
|
|
|
|
public Owner(int id): base(id)
|
|
{
|
|
|
|
}
|
|
public Owner(DataRow dr): base(dr)
|
|
{
|
|
|
|
}
|
|
protected override void getImp()
|
|
{
|
|
model_imp = new Owner_Imp();
|
|
}
|
|
|
|
//begin cust db operation, query, excute sql etc.
|
|
public DataSet QueryByName(string name)
|
|
{
|
|
cmdParameters[0] = name;
|
|
return CustQuery(100);
|
|
}
|
|
public int syncOwner()
|
|
{
|
|
return CustOper(200);
|
|
}
|
|
|
|
public DataTable getActiveOwners()
|
|
{
|
|
return CustQuery(300).Tables[0];
|
|
}
|
|
}
|
|
}
|
|
|