What are good design practices when working with Entity Framework

后端 未结 2 591
我在风中等你
我在风中等你 2020-12-12 08:43

This will apply mostly for an asp.net application where the data is not accessed via soa. Meaning that you get access to the objects loaded from the framework, not Transfer

2条回答
  •  再見小時候
    2020-12-12 09:22

    Please do not use all of the above info such as "Singleton access". You absolutely 100% should not be storing this context to be reused as it is not thread safe.

提交回复
热议问题