public IEnumerable <Customers_Profile> GetCustomers()
        {
            IEnumerable <Customers_Profile> customerList;

            using (db = new DataContextBill(constr))
            {
                customerList = db.Customers_Profiles.ToList();
            }

            return(customerList);
        }
 public CustomerRepository()
 {
     db = new DataContextBill(constr);
 }
예제 #3
0
 public SellerProfileRepository()
 {
     db = new DataContextBill(constr);
 }
예제 #4
0
 public ArticleRepository()
 {
     db = new DataContextBill(constr);
 }
 public BillingRepository()
 {
     db = new DataContextBill(constr);
 }