Tags » Entity Framework

EF6.1–Workaround Trailing Blanks Issue in String Joins

A semi-common issue that folks hit with Entity Framework is that the in-memory semantics for “relationship fixup” are different than how SQL Server performs joins with regard to trailing spaces in strings. 872 more words

Entity Framework

The final version of the Store Functions for EntityFramework 6.1.1+ Code First convention released

Today I posted the final version of the Store Functions for Entity Framework Code First convention to NuGet. The instructions for downloading and installing the latest version of the package to your project are as described in my earlier… 539 more words

Entity Framework

Table Per Type(TPT) in Entity Framework Code First

In my previous post we discussed about Table Per Hierarchy(TPH) which contains all the types for a hierarchy in a single table.

In this post, we will explore Table Per Type(TPT). 394 more words


Table Per Hierarchy(TPH) in Entity Framework Code First

Download Source


Table Per Hierarchy(TPH) defines mapping of inherited types to a single table in database. It is also known as single-table… 774 more words


Transferring data to Elasticsearch from MS SQL Server using ElasticsearchCRUD and Entity Framework

This article shows how to transfer data from a MS SQL Server 2014 to Elasticsearch. The MS SQL Server is accessed using Entity Framework (Code first from a database). 1,165 more words


Entity Framework versus SQLMetal Behavior

Microsoft’s Entity Framework is one of many Object-Relational Mapping tools available.  It’s much better than it used to be and since they pulled releases of it out of the rest of the .NET Framework, it’s easier for them to fix bugs and release updates. 512 more words


Settings Connectionstring while using EF database initializers

When using EF migrations, you’re gonna use database initializers, especially MigrateDatabaseToLatestVersion. But if you want to set the connection string by default, you’re just out of options. 117 more words