예제 #1
0
 public void Delete(Modules.Sys_FixedData model)
 {
     dal.Initialization();
     BX.Entity.Sys_FixedData entity = new Entity.Sys_FixedData
     {
         ID = model.ID,
     };
     dal.Delete(entity);
     dal.Dispose();
 }
예제 #2
0
 public BX.Modules.Sys_FixedData Update(BX.Modules.Sys_FixedData model)
 {
     dal.Initialization();
     BX.Entity.Sys_FixedData entity = new Entity.Sys_FixedData
     {
         ID          = model.ID,
         DataContent = model.DataContent,
         Sign        = model.Sign,
         Remark      = model.Remark
     };
     dal.Update(entity);
     dal.Dispose();
     return(null);
 }