Exemplo n.º 1
0
 public Customers(LayerGenConnectionString connectionString, Customer.ConcurrencyOptions concurrency)
 {
     _concurrency         = concurrency;
     _useStoredProcedures = false;
     _connectionString    = connectionString.ConnectionString;
 }
 public Customers(LayerGenConnectionString connectionString, bool useStoredProcedures)
 {
     _concurrency         = Customer.ConcurrencyOptions.Ignore;
     _useStoredProcedures = useStoredProcedures;
     _connectionString    = connectionString.ConnectionString;
 }
Exemplo n.º 3
0
 public Customers(Customer.ConcurrencyOptions concurrency)
 {
     _concurrency         = concurrency;
     _useStoredProcedures = false;
     _connectionString    = DataLayer.Universal.GetConnectionString();
 }
 public Customers(bool useStoredProcedures)
 {
     _concurrency         = Customer.ConcurrencyOptions.Ignore;
     _useStoredProcedures = useStoredProcedures;
     _connectionString    = DataLayer.FooEnterprises.Universal.GetConnectionString();
 }