示例#1
0
 public SqlTableBuilder(SyncTable tableDescription, ParserName tableName, ParserName trackingTableName, SyncSetup setup) : base(tableDescription, tableName, trackingTableName, setup)
 {
     this.sqlBuilderProcedure     = new SqlBuilderProcedure(tableDescription, tableName, trackingTableName, Setup);
     this.sqlBuilderTable         = new SqlBuilderTable(tableDescription, tableName, trackingTableName, Setup);
     this.sqlBuilderTrackingTable = new SqlBuilderTrackingTable(tableDescription, tableName, trackingTableName, Setup);
     this.sqlBuilderTrigger       = new SqlBuilderTrigger(tableDescription, tableName, trackingTableName, Setup);
 }
示例#2
0
        public SqlTableBuilder(SyncTable tableDescription, ParserName tableName, ParserName trackingTableName, SyncSetup setup, string scopeName)
            : base(tableDescription, tableName, trackingTableName, setup, scopeName)
        {
            this.SqlObjectNames = new SqlObjectNames(tableDescription, tableName, trackingTableName, setup, scopeName);
            this.SqlDbMetadata  = new SqlDbMetadata();

            this.sqlBuilderProcedure     = new SqlBuilderProcedure(tableDescription, tableName, trackingTableName, Setup, scopeName);
            this.sqlBuilderTable         = new SqlBuilderTable(tableDescription, tableName, trackingTableName, Setup);
            this.sqlBuilderTrackingTable = new SqlBuilderTrackingTable(tableDescription, tableName, trackingTableName, Setup);
            this.sqlBuilderTrigger       = new SqlBuilderTrigger(tableDescription, tableName, trackingTableName, Setup, scopeName);
        }