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(); }
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); }