By default, the name is XXXEntities, suggest to change to XXXContext, because it represents followings:
1. The Connection String in Web.config
2. The Entity Container Name
3. The Class Name of DbContext
The Model Namespace, not that important
Above 2 names will appear in the property window
This shows the name of DbContext class defined before
沒有留言:
張貼留言