Entity Framework, Code First: where is the database?
With Entity Framework 5 in Visual Studio 2012 the code first feature could let you come to the question “Where is the automatically created database located?...
Browse by term
With Entity Framework 5 in Visual Studio 2012 the code first feature could let you come to the question “Where is the automatically created database located?...
Motivation LINQ (language integrated query) is a component of the Microsoft. NET Framework since version 3.5. It allows a SQL-like query to various data sour...
During playing with EF and LINQ I run in this UI-error: argument type ‘lambda expression’ is not assignable to parameter type ‘string’ The Compiler themselve...
Problem When using xUnit and constructs like Debug.WriteLine the DbgView-tool does not show the written output anymore. Solution Add a new Listener – for exa...
Motivation During programming suddenly this error (“Failure has occurred while loading a type”) was thrown by accessing a artifact of a referenced library. I...
Intro If you want to test the internals of a productive assembly you must mark the assembly with the InternalsVisibleTo-attribute. This attribute has only on...
Till yet I thought, that if you have an assembly in the GAC all referenced assemblies must also be in the GAC. So a break of this GAC-assembly resolving chai...
If you develop ArcGIS Add-ins with Visual Studio under limited permissions you get during the build process an error, that the stuff could not be registered....
If different implementations for the same interface are specified without named keys, then a resolving is made in order of the configurations. So the first f...
By pasting formatted text in Word and OneNote both applications act a little bit different. Meanwhile Word supports RTF-formatting OneNote does not. OneNote...
Da gibt es unterschiedliche Auffassungen. Im Englischen: Func f = x => x * 2; ”x goes to x * 2” ”x maps to x * 2” ”x becomes x * 2” ”x induces x * 2” Func te...
Problemkontext So schön auch das automatische “cleanup code refactoring” von ReSharper ist, im Zusammenhang mit Strukturdefinitionen, die als Übergabe-Parame...
Das Debuggen einer Applikation auf einem Rechner ohne installiertes Visual Studio gestaltet sich mit dem Remote Debugging Monitor relativ einfach. Derartige...
error MSB3105: The item "BALoginForm.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resource...
Wie so oft im Leben sind manche Dinge auf den zweiten Blick komplexer als sie auf dem Ersten den Anschein haben. Es kam die Anfrage, ob es nicht doch einen U...
in unten stehendem Code ist ein Anti-Pattern, welches immer wieder im ArcObjects-Kontext zu beobachten ist. if (element is IMapSurroundFrame) { IMapSurround...
In our team we have developers with Visual Studio 2005 and 2008. Often we have projects which must be coded by a mixed team. Visual Studio 2005 and 2008 comp...
Often i see code-constructs like 1: try 2: { 3: string bitmapResourceName = GetType().Name + ".bmp" ; 4: Bitmap bitmap = new Bitmap(GetType(), bitmapResource...
If you want specify log-parameters for loggers of a whole namespace normally you use a scheme like <logger name="GrandNS.ParentNS.ChildNS.*" .. this is the s...
Beim Verwenden des Standard-Mechanismus zum Lesen von Konfigurationsdaten wird immer die config-Datei der EXE gelesen. Soll eine DLL über eine eigene Konfigu...