示例#1
0
        public CachedTable(CachedDatabase db, string table_name)
        {
            ParentDb = db;
            Name     = table_name;

            columns = new Dictionary <string, CachedColumn>();
            cache_columns();
        }
示例#2
0
        public DatabaseTuple(CachedDatabase orig, CachedDatabase dest)
        {
            Orig            = orig;
            Dest            = dest;
            MatchedTables   = new List <TableTuple>();
            UnmatchedTables = new List <TableTuple>();

            if (orig != null && dest != null)
            {
                //TODO: lazy eval
                match_tables();
            }
        }