public void Add(Tbl_Entity entity) { _dbSet.Add(entity); _DBEntity.SaveChanges(); }
public bool CreateNewBrand(tbl_Brand Brand) { create.tbl_Brand.AddObject(Brand); return(create.SaveChanges() > 0); }
public bool registration(tbl_Customer customer) { customerRegistration.tbl_Customer.AddObject(customer); return(customerRegistration.SaveChanges() > 0); }
public bool CreateProductCategory(tbl_ProductType ProductType) { create.tbl_ProductType.AddObject(ProductType); return(create.SaveChanges() > 0); }
public bool RegisterSeller(tbl_Seller NewSeller) { create.tbl_Seller.AddObject(NewSeller); return(create.SaveChanges() > 0); }
public void SaveChanges() { DBEntity.SaveChanges(); }
public bool OnlineProduct(tbl_Product NewProduct) { Create.tbl_Product.AddObject(NewProduct); return(Create.SaveChanges() > 0); }