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); }
public SQLiteSyncAdapter(DmTable 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(); }
public SQLiteBuilder(DmTable tableDescription, DbBuilderOption option = DbBuilderOption.CreateOrUseExistingSchema) : base(tableDescription, option) { sqlObjectNames = new SQLiteObjectNames(tableDescription); }