Was coding today in an application I support currently (Very large)...
Lesson learned --- When working with .edmx (Entity Framework)
1) Always ensure the project for the entity framework is a reference in your current project you need to use the entities for.
2) When using the "Using" statement create as follows:
'Note I shortcut contact with ctx
Using ctx As New nameOfEntity() ' Here is the key to this lesson nameOfEntity is the "Entity Container Name" listed under the properties for the .edmx model.
Very important. Remember this one.
Software engineering and business solutions blog featuring SaaS reviews, automation tools, and business insurance guides. Buyer-intent content designed to drive high-quality traffic and conversions.
Subscribe to:
Post Comments (Atom)
How to Monetize a Blog with AdSense: A Practical Guide for US Business Owners
Understanding Google AdSense What is Google AdSense? Google AdSense is an advertising program run by Google that allows website owners a...
-
The problem was that the remote connection needed to utilize Named Pipes, but in order to utilize Named Pipes both the machine hosting the i...
-
How to clear SharePoint People Picker suggestion cache If you have been SharePoint Site owner long enough, you would have definitely ...
-
Getting the following error (Figure 1): Server Error in '/' Application. ID4014: A SecurityTokenHandler is not registered to ...
No comments:
Post a Comment