コード例 #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);
 }
コード例 #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();
        }
コード例 #3
0
ファイル: SQLiteBuilder.cs プロジェクト: tbolon/Dotmim.Sync
 public SQLiteBuilder(DmTable tableDescription, DbBuilderOption option = DbBuilderOption.CreateOrUseExistingSchema)
     : base(tableDescription, option)
 {
     sqlObjectNames = new SQLiteObjectNames(tableDescription);
 }