public EntityReader (TableInfo tableInfo , string connectionStringName , DapperExecuter executer , QueryBuilder queryBuilder , JoinBuilder joinBuilder , IAccelr8Locator serviceLocator) { _connectionStringName = connectionStringName; _executer = executer; _queryBuilder = queryBuilder; _joinBuilder = joinBuilder; if (_locator == null) { _locator = serviceLocator; } UniqueId = tableInfo.UniqueId; IdColumn = tableInfo.IdColumn; TableName = tableInfo.TableName; TableAlias = tableInfo.TableAlias; ColumnNames = tableInfo.ColumnNames.OrderBy(c => c.Value).ToList(); Joins = (JoinInfo[])tableInfo.Joins.Clone(); TableInfo = tableInfo; }
public TableInfo(IAccelr8Locator locator) { ColumnNames = new Dictionary<int, string>(); Joins = new JoinInfo[0]; if (_locator == null) _locator = locator; }
public TableInfo(IAccelr8Locator locator) { ColumnNames = new Dictionary <int, string>(); Joins = new JoinInfo[0]; if (_locator == null) { _locator = locator; } }
public Repository(IAccelr8Locator serviceLocator, IUnitOfWorkStore unitStore) { _serviceLocator = serviceLocator; _unitStore = unitStore; }