예제 #1
0
 public StoreSimpleClient(string connectionString)
 {
     this.connectionString = connectionString;
     mapper = new AbstractMapper(connectionString);
     mapper.isStronglyTyped = true;
     translator             = new QueryTranslator();
 }
예제 #2
0
 public Repository(string connectionString)
 {
     this.connectionString = connectionString;
     mapper = new AbstractMapper(connectionString);
     mapper.isStronglyTyped = true;
     translator             = new QueryTranslator();
 }
예제 #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));
 }
예제 #5
0
 public NonSimpleClient(string connectionString, DbContext context)
 {
     mapper = new AbstractMapper(connectionString);
     mapper.isStronglyTyped = false;
     mapper.RegisterDbContext(context);
 }
예제 #6
0
 public NonSimpleClient(string connectionString)
 {
     mapper = new AbstractMapper(connectionString);
     mapper.isStronglyTyped = false;
     translator             = new QueryTranslator();
 }
예제 #7
0
 public QueryObjectRepository(string connectionString)
 {
     mapper   = new AbstractMapper(connectionString);
     strategy = new QueryObjectStrategy(typeof(T));
 }