Esempio n. 1
0
        public SQLiteDataStoreServices(
            [NotNull] SQLiteDataStore store,
            [NotNull] SQLiteDataStoreCreator creator,
            [NotNull] SQLiteConnection connection,
            [NotNull] SQLiteValueGeneratorCache valueGeneratorCache,
            [NotNull] RelationalDatabase database,
            [NotNull] ModelBuilderFactory modelBuilderFactory,
            [NotNull] SQLiteMigrator migrator)
        {
            Check.NotNull(store, "store");
            Check.NotNull(creator, "creator");
            Check.NotNull(connection, "connection");
            Check.NotNull(valueGeneratorCache, "valueGeneratorCache");
            Check.NotNull(database, "database");
            Check.NotNull(modelBuilderFactory, "modelBuilderFactory");
            Check.NotNull(migrator, "migrator");

            _store               = store;
            _creator             = creator;
            _connection          = connection;
            _valueGeneratorCache = valueGeneratorCache;
            _database            = database;
            _modelBuilderFactory = modelBuilderFactory;
            _migrator            = migrator;
        }
        public SQLiteDataStoreServices(
            [NotNull] SQLiteDataStore store,
            [NotNull] SQLiteDataStoreCreator creator,
            [NotNull] SQLiteConnection connection,
            [NotNull] SQLiteValueGeneratorCache valueGeneratorCache,
            [NotNull] RelationalDatabase database,
            [NotNull] ModelBuilderFactory 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;
        }