Setting custom mappings on multiple tables
JVWay
Posts: 8
I have a database with multiple tables that need custom mappings.
Most of the tables in the database do have legitimate mappings so
I do a SchemaMappings mappings = new SchemaMappings();
mappings.CreateMappings(fromDB, toDB);
But there are still 14 tables that need custom mappings.
I don't see how I can add multiple custom mappings to a SchemaMappings object. I'd really rather not have to create table mappings for all 47 tables in the database.
I'll keep working on it but any suggestions appreciated.
Thanks,
Jerry
Most of the tables in the database do have legitimate mappings so
I do a SchemaMappings mappings = new SchemaMappings();
mappings.CreateMappings(fromDB, toDB);
But there are still 14 tables that need custom mappings.
I don't see how I can add multiple custom mappings to a SchemaMappings object. I'd really rather not have to create table mappings for all 47 tables in the database.
I'll keep working on it but any suggestions appreciated.
Thanks,
Jerry
Comments