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