Inheritance: IConnectionProvider
 public SqliteSchemaProvider(SqliteConnectionProvider connectionProvider)
 {
     if (connectionProvider == null)
     {
         throw new ArgumentNullException("connectionProvider");
     }
     _connectionProvider = connectionProvider;
 }
 public void Setup()
 {
     var connectionProvider = new SqliteConnectionProvider();
     connectionProvider.SetConnectionString(string.Format("Data Source={0}", DatabasePath));
     schemaProvider = new SqliteSchemaProvider(connectionProvider);
 }
Ejemplo n.º 3
0
 public SqliteSchemaProvider(SqliteConnectionProvider connectionProvider)
 {
     if (connectionProvider == null) throw new ArgumentNullException("connectionProvider");
     _connectionProvider = connectionProvider;
 }