๐๐ก๐๐ญ ๐ข๐ฌ .๐๐ฌ๐๐จ๐๐ซ๐๐๐ค๐ข๐ง๐ ()
๐๐ก๐ข๐ฅ๐ ๐ฎ๐ฌ๐ข๐ง๐ ๐๐ฌ๐๐จ๐๐ซ๐๐๐ค๐ข๐ง๐ 1. The entity is not tracked by the context. 2. EF does not know the state of its entity. 3โฆ
๐๐ก๐ข๐ฅ๐ ๐ฎ๐ฌ๐ข๐ง๐ ๐๐ฌ๐๐จ๐๐ซ๐๐๐ค๐ข๐ง๐
1. The entity is not tracked by the context.
2. EF does not know the state of its entity.
3 Not recommended when you are performing Add/Update/Delete kind operations
4. Improved performance over regular LINQ queries.
5. Only recommended when you are doing read-only operations.
6. Most efficient when we have to retrieve large set of data.
ย
๐๐ข๐ญ๐ก๐จ๐ฎ๐ญ ๐๐ฌ๐๐จ๐๐ซ๐๐๐ค๐ข๐ง๐
1. The entity is tracked by the context.
2. EF knows the state of this entity.
3. We can use this entity to save/update and we donโt need to set the state of entity again.
If you like my work you can help me in growing through following ways