c# - Loading SQL tables using Entity Framework -


i want use entity framework load number of sql tables memory c# app before performing work on them , sending changes database. want hit database once when load data , once more when update changes. should load tables dataset or there better way achieve this?

in such case can't use entity framework. entity framework hit database once loading each table (unless there relations can load tables in single query @jakub suggested) , hit database each performed change. ef doesn't have command batching , each modified, inserted or deleted entity cause separate roundtrip db.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -