POCO and T4
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 …
Entity Data Model Generation
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 …
Entity Object Tracking
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 …
Query in Entity Framework
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 …
Entity Data Model XML
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 …