Quantcast
Channel: .NET ORM – The Wiert Corner – irregular stream of stuff
Browsing latest articles
Browse All 13 View Live

Image may be NSFW.
Clik here to view.

Weird Errors With EF4 CTP5 Code First? Close All Database Connections » Danny...

Often solutions are simple, but the steps finding that simple solution can take a while. This time, good friend Danny Thorpe found out the hard way using the joungest Community Technology Preview...

View Article


Image may be NSFW.
Clik here to view.

Entity Framework 4 “Error 3004: Problem in mapping fragments starting at...

Entity Framework 4 is nice, but has very confusing  error messages. Maybe it is just me, but getting a feel for what each error message means, and how to cure the underlying mistake(s) is time...

View Article


Image may be NSFW.
Clik here to view.

Entity Framework 4 – security warning popup workaround: Do you trust all the...

When using Entity Framework 4, your transofmrations (model to classes, DB to model, etc) are performed by T4 Text Templates. Those templates are executed all over the place (when saving your project,...

View Article

Image may be NSFW.
Clik here to view.

Don’t sleep when you use your Entity Framework model from a separate assembly

The Entity Framework needs you to have a connection string in your App.Config. It is good practice having your Entity Framework model in a separate assembly. When using it in your main app, be aware...

View Article

Image may be NSFW.
Clik here to view.

Entity Framework: finding out what SQL is executed behind the scene

I love the Entity Framework, but as with every layer of abstraction, sometimes you need to get underneath in order to solve problems. For EF questions, I usually browse the presentations, blog,...

View Article


Image may be NSFW.
Clik here to view.

Entity Framework: simple solution for cryptic error message...

The drawback of using ORM layers is that often the error messages are very cryptic, and it takes some getting used to in order to find the (often deceptively) simple solution. This case was an Entity...

View Article

Image may be NSFW.
Clik here to view.

Entity Framework: EF4 – update model from database ignores some changes

Almost a year ago there was a post on the MSDN forums titled EF4 – update model from database ignores some changes. These are the changes it ignores that I found so far: Column renames Column data type...

View Article

Image may be NSFW.
Clik here to view.

The ADO.NET Entity Framework and SQL Server 2000: the ProviderManifestToken...

Yes. Dorothy. There are people using the ADO .NET Entity Framework with SQL Server 2000  in parallel of moving towards a more modern Microsoft SQL Server version. Entity Framework is lovely for...

View Article


Image may be NSFW.
Clik here to view.

Great session on how to prevent SQL Injection Myths and Fallacies

A few weeks ago, Bill Karwin did a must watch webinar on the prevention SQL Injection titled  “SQL Injection Myths and Fallacies“. Bill Karwin (twitter, new blog, old blog, Amazon) is famous for much...

View Article


Image may be NSFW.
Clik here to view.

sql server – How do I programmatically set the connection string for...

For my link archive: sql server – How do I programmatically set the connection string for Entity-Framework Code-First? – Stack Overflow. use the EntityConnectionStringBuilder see this How to: Build an...

View Article

Image may be NSFW.
Clik here to view.

Reminder to self: app.config and “ORA-12154: TNS:could not resolve the...

When you have one app.config for your whole set of DTAP environments (develop/test/acceptance production), every once in a while you get this error: ORA-12154: TNS:could not resolve the connect...

View Article

Image may be NSFW.
Clik here to view.

NHibernate, LINQ, Oracle and the placement of Take: avoid “Specified method...

Even though as of 12c R1, Oracle supports a row limiting clause, NHibernate 4.2 with Oracle.DataAccess.dll 2.112.3.0 does not support that. When you let it generate the SQL for a LINQ Take call to...

View Article

An In Depth Guide Into a Ridiculously Simple API Using .NET Core

Since I am going to be involved with building some REST API servers and clients in .NET, here are some links to get me up to speed. [WayBack] An In Depth Guide Into a Ridiculously Simple API Using .NET...

View Article

Browsing latest articles
Browse All 13 View Live


Latest Images