示例#1
0
 public void InsertDepartment(Models.Department department)
 {
     DBContext.Departments.Add(department);
     DBContext.SaveChanges();
 }
示例#2
0
 public void InsertRetailer(Models.Retailer retailer)
 {
     DBContext.Retailers.Add(retailer);
     DBContext.SaveChanges();
 }