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;
        }
Пример #2
0
        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;
        }