コード例 #1
0
 //查询单个(查ID)
 public static int Select(ref M_Online Obj, int ID, ref string ErrMsg)
 {
     I_Online I = (D_Online)SimpleFactory.CreateObject(DBType.Online);
     return I.Select(ref Obj, ID, ref ErrMsg);
 }
コード例 #2
0
 //插入多个
 public static int Insert(ref List<M_Online> Obj, ref string ErrMsg)
 {
     I_Online I = (D_Online)SimpleFactory.CreateObject(DBType.Online);
     return I.Insert(ref Obj, ref ErrMsg);
 }
コード例 #3
0
 //更新单个(查ID)
 public static int Update(M_Online Obj, ref string ErrMsg)
 {
     I_Online I = (D_Online)SimpleFactory.CreateObject(DBType.Online);
     return I.Update(Obj, ref ErrMsg);
 }
コード例 #4
0
 //删除单个(查ID)
 public static int Delete(int ID, ref string ErrMsg)
 {
     I_Online I = (D_Online)SimpleFactory.CreateObject(DBType.Online);
     return I.Delete(ID, ref ErrMsg);
 }