sql server - C# - EDM/EF - Selected tables only or whole database? Best practices -


i still puzzled basic question not yet find answer:

if create in c# edm (using database first approach) - there best practices in number of tables choose? select whole db/all tables - flexible possible later? i.e. you'd work off 1 "complete model" in application.

or try restrict/limit tables absolutely need in model?

or generate multiple models different tables?

are there (serious) performance worries, if have tables in model, later not actively addressing?

thank input in advance.

it depends on specific situation, consider problem, whether need data or not?? working in web environment or using local application? if connect on web better grab data once, if tables heavy , not need of them, why should that?? load need,


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -