Robert Dannelly blog, Over the internet you can find me by "robert dannelly blog". The blog is an ongoing blog of my software engineering over technologies C#, VB.NET, Java, React, JavaScript, .NET Core Current, SQL Server 7 - Current Version, GIT, GitHub, Jira, Azure, AWS and HTML5. “I have not failed. I've just found 10,000 ways that won't work.” Thomas A. Edison, please click on all links to help support this blog. Thank you. “As an Amazon Associate, I earn from qualifying purchases.”
Thursday, September 26, 2013
Tuesday, September 24, 2013
Source Control disappear from Solution Explorer Visual Studio 2010
Check - Visual Studio, click on File-->Source Control-->Change Source Control.
Tuesday, September 17, 2013
Windows 7 add shortcut to Active Directory
Create a short cut and point to - %SystemRoot%\SYSTEM32\rundll32.exe dsquery,OpenQueryWindow
Monday, September 09, 2013
Entity Container Name Gotcha
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.
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.
Subscribe to:
Posts (Atom)