POCO and T4

Tue 15 May 2018

It’s been a while not writing any post, I’ll try finish this series before I get tired of it. This time I’ll talk about two words - POCO and T4

What is POCO?

POCO is Plain Old CLR …

Category: EntityFramework

Tagged: ef


Entity Data Model Generation

Wed 18 April 2018

Database/Model First

Let's get one step back and have a quick look at how the conceptual models had been built at the beginning.

Before we build the database and the program, there's an equal chance for either having database …

Category: EntityFramework

Tagged: ef


Entity Object Tracking

Wed 04 April 2018

Object State

Last time we introduced how to query database from conceptual models. It includes LINQ to Entities and Entity SQL. With IQueryable object, the sql script will be built and executed automatically within the method .ToList(). After the data …

Category: EntityFramework

Tagged: ef


Query in Entity Framework

Thu 22 March 2018

With Entity Data Model, we built the connection between conceptual models and database schema. The next question would be how we’re going to code with the EDM objects.

Today we’ll have a quick view to LINQ to Entities …

Category: EntityFramework

Tagged: ef


Entity Data Model XML

Thu 15 March 2018

Last time, we described how Entity Data Model(EDM) was designated to help DBA and developer to work with their own contexts. Today let’s dig deeper into EDM to see what it consists of and what it looks like …

Category: EntityFramework

Tagged: ef


Introduction to Entity Data Model

Thu 08 March 2018

There is always something exists for a mysterious reason. 'Mysterious' doesn't mean it is unknown, but we are too lazy to know. The Entity Framework technology is one of those things for me. It was set up at the very …

Category: EntityFramework

Tagged: ef