public EntityCommand(string entityType, string entityKey = "", Dictionary<string,string> switches = null, ISchemaChecker checker = null, IEntityFormatter formatter = null) :base(switches) { mEntityType = entityType; mEntityKey = entityKey; mChecker = checker; mFormatter = formatter; }
public SqlDataStore(IDbEngine dbEngine, ISqlFactory sqlFactory) { _dbEngine = dbEngine; _sqlFactory = sqlFactory; _dbAccessStrategy = _sqlFactory.CreateDbAccessStrategy(this); _sqlFieldPropertyFactory = _sqlFactory.CreateFieldPropertyFactory(); _schemaChecker = _sqlFactory.CreateSchemaChecker(this); _connectionPool = new List <IDbConnection>(); ConnectionPoolSize = 20; }
public SqlDataStore(IDbEngine dbEngine, ISqlFactory sqlFactory) { _dbEngine = dbEngine; _sqlFactory = sqlFactory; _dbAccessStrategy = _sqlFactory.CreateDbAccessStrategy(this); FieldPropertyFactory = _sqlFactory.CreateFieldPropertyFactory(); _schemaChecker = _sqlFactory.CreateSchemaChecker(this); _readConnectionPool = new ConnectionPool(dbEngine) { ConnectionPoolSize = 20 }; _writeConnectionPool = new ConnectionPool(dbEngine) { ConnectionPoolSize = 1 }; }
public ObserveServiceInstanceCommand(string entityType, string entityKey = "", Dictionary <string, string> switches = null, ISchemaChecker checker = null) : base(entityType, entityKey, switches, checker, new LastOperationFormatter()) { }
public CreateEntityCommand(string entityType, Dictionary <string, string> switches = null, ISchemaChecker checker = null) : base(entityType, "", switches, checker) { }
public CreateBindingCommand(Dictionary <string, string> switches = null, ISchemaChecker checker = null) : base("binding", switches, checker) { }
public UpdateServiceInstanceCommand(Dictionary <string, string> switches = null, ISchemaChecker checker = null) : base("service-instance", switches, checker) { }
public ListEntitiesCommand(string entityType, string entityKey = "", Dictionary <string, string> switches = null, ISchemaChecker checker = null, IEntityFormatter formatter = null) : base(entityType, entityKey, switches, checker, formatter) { }