Recently we were stumped with the following error while working on an Azure project Error 1 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. C:Program FilesMSBuildMicrosoftCloud Service1.0Visual Studio 10.0Microsoft.CloudService.targets 202 5 OrderManagement […]
Tag Archives: Bulb Flash
EF 4.0 Bulb Flash!:- Load only what you need!!
A small tip for those working with Entity Framework 4.0:- We all know the concept of Lazy Loading in the Entity Framework: With lazy loading enabled, related objects are loaded when they are accessed through a navigation property. With lazy loading a drawback is that an object retrieved from the database comes loaded with all […]
Bulb Flash:-Returning Complex objects from Stored Procedures in Entity Framework!
Sometimes when using the Entity Framework we decide to encapsulate a complicated piece of SQL into a stored procedure and call it directly from your code. But how to you extract the result of the Stored Proc if it returns a combination of columns from different tables? Consider the following Stored Proc which returns a […]