示例#1
0
 public Boolean Insert(BusinessModels.WarehouseMaster WarehouseMaster)
 {
     WarehouseMasters.Add(WarehouseMaster);
     return(true);
 }
示例#2
0
 public Boolean Update(BusinessModels.WarehouseMaster WarehouseMaster)
 {
     WarehouseMasters.Remove(WarehouseMasters.Find(p => p.Identity.Equals(WarehouseMaster.Identity)));
     WarehouseMasters.Add(WarehouseMaster);
     return(true);
 }