Пример #1
0
 //查询多个(查ID)
 public static int Select(ref List<M_AdminLogin> Obj, List<int> ID, ref string ErrMsg)
 {
     I_AdminLogin I = (D_AdminLogin)SimpleFactory.CreateObject(DBType.AdminLogin);
     return I.Select(ref Obj, ID, ref ErrMsg);
 }
Пример #2
0
 //删除单个(查ID)
 public static int Delete(int ID, ref string ErrMsg)
 {
     I_Access I = (D_Access)SimpleFactory.CreateObject(DBType.Access);
     return I.Delete(ID, ref ErrMsg);
 }
Пример #3
0
 //更新单个(查ID)
 public static int Update(M_Access Obj, ref string ErrMsg)
 {
     I_Access I = (D_Access)SimpleFactory.CreateObject(DBType.Access);
     return I.Update(Obj, ref ErrMsg);
 }
Пример #4
0
 //删除单个(查ID)
 public static int Delete(int ID, ref string ErrMsg)
 {
     I_Purchase_Body I = (D_Purchase_Body)SimpleFactory.CreateObject(DBType.Purchase_Body);
     return I.Delete(ID, ref ErrMsg);
 }
Пример #5
0
 //更新单个(查ID)
 public static int Update(M_Purchase_Body Obj, ref string ErrMsg)
 {
     I_Purchase_Body I = (D_Purchase_Body)SimpleFactory.CreateObject(DBType.Purchase_Body);
     return I.Update(Obj, ref ErrMsg);
 }
Пример #6
0
 //插入多个
 public static int Insert(ref List<M_Invoice> Obj, ref string ErrMsg)
 {
     I_Invoice I = (D_Invoice)SimpleFactory.CreateObject(DBType.Invoice);
     return I.Insert(ref Obj, ref ErrMsg);
 }
Пример #7
0
 //查询单个(查ID)
 public static int Select(ref M_Invoice Obj, int ID, ref string ErrMsg)
 {
     I_Invoice I = (D_Invoice)SimpleFactory.CreateObject(DBType.Invoice);
     return I.Select(ref Obj, ID, ref ErrMsg);
 }
Пример #8
0
 //分页
 public static int TurnPage(ref List<M_EmployeeLogin> Obj, int Page, int PageSize, ref string ErrMsg)
 {
     I_EmployeeLogin I = (D_EmployeeLogin)SimpleFactory.CreateObject(DBType.EmployeeLogin);
     return I.TurnPage(ref Obj, Page, PageSize, ref ErrMsg);
 }
Пример #9
0
 //删除单个(查ID)
 public static int Delete(int ID, ref string ErrMsg)
 {
     I_AuditFlow I = (D_AuditFlow)SimpleFactory.CreateObject(DBType.AuditFlow);
     return I.Delete(ID, ref ErrMsg);
 }
Пример #10
0
 //更新单个(查ID)
 public static int Update(M_EmployeeLogin Obj, ref string ErrMsg)
 {
     I_EmployeeLogin I = (D_EmployeeLogin)SimpleFactory.CreateObject(DBType.EmployeeLogin);
     return I.Update(Obj, ref ErrMsg);
 }
Пример #11
0
 //查询单个(查ID)
 public static int Select(ref M_EmployeeLogin Obj, int ID, ref string ErrMsg)
 {
     I_EmployeeLogin I = (D_EmployeeLogin)SimpleFactory.CreateObject(DBType.EmployeeLogin);
     return I.Select(ref Obj, ID, ref ErrMsg);
 }
Пример #12
0
 //插入多个
 public static int Insert(ref List<M_EmployeeLogin> Obj, ref string ErrMsg)
 {
     I_EmployeeLogin I = (D_EmployeeLogin)SimpleFactory.CreateObject(DBType.EmployeeLogin);
     return I.Insert(ref Obj, ref ErrMsg);
 }
Пример #13
0
 //删除单个(查ID)
 public static int Delete(int ID, ref string ErrMsg)
 {
     I_EmployeeLogin I = (D_EmployeeLogin)SimpleFactory.CreateObject(DBType.EmployeeLogin);
     return I.Delete(ID, ref ErrMsg);
 }
Пример #14
0
 //员工登录
 public static int Login(ref M_EmployeeLogin Obj, string username, string password, ref string ErrMsg)
 {
     I_EmployeeLogin I = (D_EmployeeLogin)SimpleFactory.CreateObject(DBType.EmployeeLogin);
     return I.Login(ref Obj, username, password, ref ErrMsg);
 }
Пример #15
0
 //分页
 public static int TurnPage(ref List<M_Material> Obj, int Page, int PageSize, ref string ErrMsg)
 {
     I_Material I = (D_Material)SimpleFactory.CreateObject(DBType.Material);
     return I.TurnPage(ref Obj, Page, PageSize, ref ErrMsg);
 }
Пример #16
0
 //插入多个
 public static int Insert(ref List<M_AuditFlow> Obj, ref string ErrMsg)
 {
     I_AuditFlow I = (D_AuditFlow)SimpleFactory.CreateObject(DBType.AuditFlow);
     return I.Insert(ref Obj, ref ErrMsg);
 }
Пример #17
0
 //删除单个(查ID)
 public static int Delete(int ID, ref string ErrMsg)
 {
     I_Invoice I = (D_Invoice)SimpleFactory.CreateObject(DBType.Invoice);
     return I.Delete(ID, ref ErrMsg);
 }
Пример #18
0
 //更新单个(查ID)
 public static int Update(M_AuditFlow Obj, ref string ErrMsg)
 {
     I_AuditFlow I = (D_AuditFlow)SimpleFactory.CreateObject(DBType.AuditFlow);
     return I.Update(Obj, ref ErrMsg);
 }
Пример #19
0
 //更新单个(查ID)
 public static int Update(M_Invoice Obj, ref string ErrMsg)
 {
     I_Invoice I = (D_Invoice)SimpleFactory.CreateObject(DBType.Invoice);
     return I.Update(Obj, ref ErrMsg);
 }
Пример #20
0
 //查询单个(查ID)
 public static int Select(ref M_AuditFlow Obj, int ID, ref string ErrMsg)
 {
     I_AuditFlow I = (D_AuditFlow)SimpleFactory.CreateObject(DBType.AuditFlow);
     return I.Select(ref Obj, ID, ref ErrMsg);
 }
Пример #21
0
 //分页
 public static int TurnPage(ref List<M_Invoice> Obj, int Page, int PageSize, ref string ErrMsg)
 {
     I_Invoice I = (D_Invoice)SimpleFactory.CreateObject(DBType.Invoice);
     return I.TurnPage(ref Obj, Page, PageSize, ref ErrMsg);
 }
Пример #22
0
 //删除单个(查ID)
 public static int Delete(int ID, ref string ErrMsg)
 {
     I_Material I = (D_Material)SimpleFactory.CreateObject(DBType.Material);
     return I.Delete(ID, ref ErrMsg);
 }
Пример #23
0
 //插入多个
 public static int Insert(ref List<M_Purchase_Body> Obj, ref string ErrMsg)
 {
     I_Purchase_Body I = (D_Purchase_Body)SimpleFactory.CreateObject(DBType.Purchase_Body);
     return I.Insert(ref Obj, ref ErrMsg);
 }
Пример #24
0
 //插入多个
 public static int Insert(ref List<M_Material> Obj, ref string ErrMsg)
 {
     I_Material I = (D_Material)SimpleFactory.CreateObject(DBType.Material);
     return I.Insert(ref Obj, ref ErrMsg);
 }
Пример #25
0
 //查询单个(查ID)
 public static int Select(ref M_Purchase_Body Obj, int ID, ref string ErrMsg)
 {
     I_Purchase_Body I = (D_Purchase_Body)SimpleFactory.CreateObject(DBType.Purchase_Body);
     return I.Select(ref Obj, ID, ref ErrMsg);
 }
Пример #26
0
 //更新单个(查ID)
 public static int Update(M_Material Obj, ref string ErrMsg)
 {
     I_Material I = (D_Material)SimpleFactory.CreateObject(DBType.Material);
     return I.Update(Obj, ref ErrMsg);
 }
Пример #27
0
 //插入多个
 public static int Insert(ref List<M_Access> Obj, ref string ErrMsg)
 {
     I_Access I = (D_Access)SimpleFactory.CreateObject(DBType.Access);
     return I.Insert(ref Obj, ref ErrMsg);
 }
Пример #28
0
 //查询单个(查ID)
 public static int Select(ref M_Material Obj, int ID, ref string ErrMsg)
 {
     I_Material I = (D_Material)SimpleFactory.CreateObject(DBType.Material);
     return I.Select(ref Obj, ID, ref ErrMsg);
 }
Пример #29
0
 //查询单个(查ID)
 public static int Select(ref M_Access Obj, int ID, ref string ErrMsg)
 {
     I_Access I = (D_Access)SimpleFactory.CreateObject(DBType.Access);
     return I.Select(ref Obj, ID, ref ErrMsg);
 }
Пример #30
0
 //更新多个
 public static int Update(List<M_AdminLogin> Obj, ref string ErrMsg)
 {
     I_AdminLogin I = (D_AdminLogin)SimpleFactory.CreateObject(DBType.AdminLogin);
     return I.Update(Obj, ref ErrMsg);
 }