var db = new MyDb(connString );
causes creation of all objects corresponding to all tables in database.
Database contains 500 tables.
Application accesses only few tables at a time.
Creating large number of objects which are not used is bad design.
How to force Linq-SQL to create table objects only when they are first
accessed ?
Andrus.
causes creation of all objects corresponding to all tables in database.
Database contains 500 tables.
Application accesses only few tables at a time.
Creating large number of objects which are not used is bad design.
How to force Linq-SQL to create table objects only when they are first
accessed ?
Andrus.
Comment