public AtsDataStore([NotNull] DbContextConfiguration configuration, [NotNull] AtsConnection connection, [NotNull] AtsQueryFactory queryFactory, [NotNull] TableEntityAdapterFactory tableEntityFactory) : base(configuration) { Check.NotNull(connection, "connection"); Check.NotNull(queryFactory, "queryFactory"); Check.NotNull(tableEntityFactory, "tableEntityFactory"); _queryFactory = queryFactory; EntityFactory = tableEntityFactory; Connection = connection; }
public AtsDataStoreServices( [NotNull] AtsDataStore store, [NotNull] AtsDataStoreCreator creator, [NotNull] AtsConnection connection, [NotNull] AtsValueGeneratorCache valueGeneratorCache, [NotNull] AtsDatabase database, [NotNull] AtsModelBuilderFactory modelBuilderFactory) { Check.NotNull(store, "store"); Check.NotNull(creator, "creator"); Check.NotNull(connection, "connection"); Check.NotNull(valueGeneratorCache, "valueGeneratorCache"); Check.NotNull(database, "database"); Check.NotNull(modelBuilderFactory, "modelBuilderFactory"); _store = store; _creator = creator; _connection = connection; _valueGeneratorCache = valueGeneratorCache; _database = database; _modelBuilderFactory = modelBuilderFactory; }
public AtsDataStoreCreator([NotNull] AtsConnection connection) { Check.NotNull(connection, "connection"); _connection = connection; }
/// <summary> /// Provided only for testing purposes. Do not use. /// </summary> protected AtsDataStore(AtsConnection connection, TableEntityAdapterFactory entityFactory) { Connection = connection; EntityFactory = entityFactory; }
/// <summary> /// Provided only for testing purposes. Do not use. /// </summary> protected AtsDataStore(DbContextConfiguration configuration, AtsConnection connection, TableEntityAdapterFactory entityFactory) { _configuration = configuration; Connection = connection; EntityFactory = entityFactory; }