Member-only story
๐๐ก๐๐ญ ๐ข๐ฌ .๐๐ฌ๐๐จ๐๐ซ๐๐๐ค๐ข๐ง๐ () , ๐ฐ๐ก๐๐ญ ๐ข๐ฌ ๐๐๐ง๐๐๐ข๐ญ ๐จ๐ ๐ฎ๐ฌ๐ข๐ง๐ ๐ข๐ญ ๐๐ง๐ ๐ฐ๐ก๐๐ง ๐ฐ๐ ๐ฌ๐ก๐จ๐ฎ๐ฅ๐ ๐ฎ๐ฌ๐ ๐ข๐ญ ?
๐๐ก๐ข๐ฅ๐ ๐ฎ๐ฌ๐ข๐ง๐ ๐๐ฌ๐๐จ๐๐ซ๐๐๐ค๐ข๐ง๐
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









