Beispiel #1
0
 public StoreSimpleClient(string connectionString)
 {
     this.connectionString = connectionString;
     mapper = new AbstractMapper(connectionString);
     mapper.isStronglyTyped = true;
     translator             = new QueryTranslator();
 }
 public Repository(string connectionString)
 {
     this.connectionString = connectionString;
     mapper = new AbstractMapper(connectionString);
     mapper.isStronglyTyped = true;
     translator             = new QueryTranslator();
 }
Beispiel #3
0
 public StoreSimpleClient(string connectionString, DbContext context)
 {
     this.connectionString = connectionString;
     mapper = new AbstractMapper(connectionString);
     mapper.isStronglyTyped = true;
     mapper.RegisterDbContext(context);
     translator = new QueryTranslator();
 }
 public QueryObjectSimpleClient(string connectionString)
 {
     mapper   = new AbstractMapper(connectionString);
     strategy = new QueryObjectStrategy(typeof(T));
 }
Beispiel #5
0
 public NonSimpleClient(string connectionString, DbContext context)
 {
     mapper = new AbstractMapper(connectionString);
     mapper.isStronglyTyped = false;
     mapper.RegisterDbContext(context);
 }
Beispiel #6
0
 public NonSimpleClient(string connectionString)
 {
     mapper = new AbstractMapper(connectionString);
     mapper.isStronglyTyped = false;
     translator             = new QueryTranslator();
 }
Beispiel #7
0
 public QueryObjectRepository(string connectionString)
 {
     mapper   = new AbstractMapper(connectionString);
     strategy = new QueryObjectStrategy(typeof(T));
 }