public SqliteBuilderTrigger(DmTable tableDescription, DbConnection connection, DbTransaction transaction = null)
 {
     this.connection       = connection as SqliteConnection;
     this.transaction      = transaction as SqliteTransaction;
     this.tableDescription = tableDescription;
     (this.tableName, this.trackingName) = SqliteBuilder.GetParsers(this.tableDescription);
     this.sqliteObjectNames = new SqliteObjectNames(this.tableDescription);
 }
Exemplo n.º 2
0
 public SqliteBuilderTrigger(SyncTable tableDescription, ParserName tableName, ParserName trackingName, SyncSetup setup)
 {
     this.tableDescription  = tableDescription;
     this.setup             = setup;
     this.tableName         = tableName;
     this.trackingName      = trackingName;
     this.sqliteObjectNames = new SqliteObjectNames(this.tableDescription, tableName, trackingName, this.setup);
 }
 public SqliteBuilderTrigger(SyncTable tableDescription, ParserName tableName, ParserName trackingName, SyncSetup setup, DbConnection connection, DbTransaction transaction = null)
 {
     this.connection        = connection as SqliteConnection;
     this.transaction       = transaction as SqliteTransaction;
     this.tableDescription  = tableDescription;
     this.setup             = setup;
     this.tableName         = tableName;
     this.trackingName      = trackingName;
     this.sqliteObjectNames = new SqliteObjectNames(this.tableDescription, tableName, trackingName, this.setup);
 }
Exemplo n.º 4
0
        public SqliteSyncAdapter(SyncTable tableDescription, DbConnection connection, DbTransaction transaction) : base(tableDescription)
        {
            var sqlc = connection as SqliteConnection;

            this.connection = sqlc ?? throw new InvalidCastException("Connection should be a SqliteConnection");

            this.transaction = transaction as SqliteTransaction;

            this.sqliteObjectNames = new SqliteObjectNames(TableDescription);
            this.sqliteDbMetadata  = new SqliteDbMetadata();
        }
Exemplo n.º 5
0
        public SqliteSyncAdapter(SyncTable tableDescription, ParserName tableName, ParserName trackingName, SyncSetup setup, DbConnection connection, DbTransaction transaction) : base(tableDescription, setup)
        {
            var sqlc = connection as SqliteConnection;

            this.connection = sqlc ?? throw new InvalidCastException("Connection should be a SqliteConnection");

            this.transaction = transaction as SqliteTransaction;

            this.sqliteObjectNames = new SqliteObjectNames(this.TableDescription, tableName, trackingName, this.Setup);
            this.sqliteDbMetadata  = new SqliteDbMetadata();
        }
Exemplo n.º 6
0
 public SqliteTableBuilder(SyncTable tableDescription, ParserName tableName, ParserName trackingTableName, SyncSetup setup, string scopeName)
     : base(tableDescription, tableName, trackingTableName, setup, scopeName)
 {
     this.sqliteObjectNames = new SqliteObjectNames(tableDescription, this.TableName, this.TrackingTableName, setup, scopeName);
     this.sqliteDbMetadata  = new SqliteDbMetadata();
 }
Exemplo n.º 7
0
 public SqliteBuilder(DmTable tableDescription) : base(tableDescription)
 {
     sqlObjectNames = new SqliteObjectNames(tableDescription);
 }
Exemplo n.º 8
0
 public SqliteBuilder(DmTable tableDescription, DbBuilderOption option = DbBuilderOption.CreateOrUseExistingSchema)
     : base(tableDescription, option)
 {
     sqlObjectNames = new SqliteObjectNames(tableDescription);
 }
Exemplo n.º 9
0
 public SqliteSyncAdapter(SyncTable tableDescription, ParserName tableName, ParserName trackingName, SyncSetup setup) : base(tableDescription, setup)
 {
     this.sqliteObjectNames = new SqliteObjectNames(this.TableDescription, tableName, trackingName, this.Setup);
     this.sqliteDbMetadata  = new SqliteDbMetadata();
 }
Exemplo n.º 10
0
 public SqliteTableBuilder(SyncTable tableDescription, SyncSetup setup) : base(tableDescription, setup)
 {
     sqlObjectNames = new SqliteObjectNames(tableDescription, this.TableName, this.TrackingTableName, setup);
 }