示例#1
0
        Run00.SqlCopySchema.Database ISchemaReader.GetSchema(DatabaseInfo location)
        {
            var server = new Server(location.Server);
            var result = new Run00.SqlCopySchema.Database()
            {
                Name   = location.Database,
                Tables = GetTables(server.Databases[location.Database])
            };

            return(result);
        }
示例#2
0
        Run00.SqlCopySchema.Database ISchemaReader.GetSchema(DatabaseInfo location)
        {
            var server = new Server(location.Server);
            var result = new Run00.SqlCopySchema.Database()
            {
                Name = location.Database,
                Tables = GetTables(server.Databases[location.Database])
            };

            return result;
        }