Sign in
|
Help
Matthieu MEZIL
I love .Net
This Blog
Home
Contact
Syndication
RSS for Posts
Atom
RSS for Comments
Search
Go
Tags
.Net
ADO.NET Data Services
ADO.NET Data Services Hooking POC
Architecture
Bug
C#
EDM Designer
Entity Data Model (EDM)
Entity Framework (EF)
Fun
LINQ To Object
LINQ To SQL
MEF
MSIL
Parallel Framework (PFx)
Perso
Quizz
SQL
T4
TDD
VB .Net
Velocity
VS
WCF
WPF
News
French blog
EDM Designer
Community
Home
Blogs
Media
Groups
Email Notifications
Go
Archives
November 2009 (3)
October 2009 (4)
September 2009 (3)
August 2009 (1)
July 2009 (1)
June 2009 (7)
May 2009 (8)
April 2009 (7)
February 2009 (6)
January 2009 (3)
December 2008 (2)
November 2008 (11)
October 2008 (9)
September 2008 (2)
August 2008 (20)
July 2008 (9)
June 2008 (14)
May 2008 (11)
Browse by Tags
All Tags
»
.Net
»
T4
(
RSS
)
ADO.NET Data Services
Architecture
C#
Entity Data Model (EDM)
Entity Framework (EF)
LINQ
TDD
WCF
Tue, Nov 24 2009 18:17
Data oriented WCF service Agile with EF4 and a “sort of” provider LINQ
I use a different approach than Julie’s one for EF Agile development. Indeed, I use here Self-Tracking Entities and I massively use T4. The first step is to create a project DAL in which we will add an edmx. In my sample, I use Northwind DataBase with...
Posted by
Matthieu MEZIL
|
1 comment(s)
Filed under:
.Net
,
Entity Framework (EF)
,
Entity Data Model (EDM)
,
Architecture
,
T4
,
TDD
,
LINQ
Wed, Nov 4 2009 17:40
ADO.NET Data Services Client context
One of the great points with EF is the eco-system around it. Even if it can be used without EF, I think that ADO .NET Data Services is one of the technologies in this eco-system. Indeed, using ADO.NET Data Services with EF implies almost no code to write...
Posted by
Matthieu MEZIL
| with
no comments
Filed under:
.Net
,
Entity Framework (EF)
,
Entity Data Model (EDM)
,
ADO.NET Data Services
,
T4
Mon, Oct 26 2009 18:13
Generate a WCF service from an edmx with T4 v2
I recently published a T4 template to generate a WCF service . I updated it to be able to load its relationships from an entity . When the template is written (what I’ve already done), it generates the WCF service for us (you just have to set the...
Posted by
Matthieu MEZIL
| with
no comments
Filed under:
.Net
,
Entity Framework (EF)
,
Entity Data Model (EDM)
,
T4
Tue, Oct 20 2009 8:39
Entity Framework: the productivity way
One of the best points with Entity Framework is the developer productivity gain. If you associate EF with the T4 template code generation, this gain explodes. Imagine that we want a WCF service which exposes some data. For each entity type, you probably...
Posted by
Matthieu MEZIL
|
1 comment(s)
Filed under:
.Net
,
Entity Framework (EF)
,
Entity Data Model (EDM)
,
WCF
,
T4
Wed, Sep 2 2009 15:49
ADO.NET EntityObject Generator: how to get the EntityType’s EntitySet and how to get EntitySet’s EntityTypes?
One of my customers wanted to know how to get all EntityTypes for an EntitySet in his T4 template based on the MS ADO.NET EntityObject Generator one. So I made a POC for him. What do I do? I change two classes included in the template (my changes are...
Posted by
Matthieu MEZIL
|
5 comment(s)
Filed under:
.Net
,
Entity Framework (EF)
,
Entity Data Model (EDM)
,
T4
Tue, Jul 21 2009 16:03
How to have FK in EF v1?
Before answering this question, I will start with another one: why do we need FK? to be able to change a relationship without loading the related entity but we can already do it with the EntityReference property. for the binding With the windows forms...
Posted by
Matthieu MEZIL
| with
no comments
Filed under:
.Net
,
C#
,
Entity Framework (EF)
,
T4
Mon, Jun 29 2009 18:49
T4 for View Generation
EF team blogged about it here and I think that it’s very useful. First, I think that it’s easier to use than Edmgen. Moreover, contrary to EdmGen, it allows you to use embedded metadata artifacts. If you want to use the MS T4 template with...
Posted by
Matthieu MEZIL
| with
no comments
Filed under:
.Net
,
Entity Framework (EF)
,
T4
Fri, Jun 26 2009 3:23
POCO T4
With EF4 features CTP1, we have a great POCO template which is divided in two tt files to allow us to have the entitiy POCO classes and the context in different projects. It’s very very cool. However, I think that it’s a shame not to have...
Posted by
Matthieu MEZIL
| with
no comments
Filed under:
.Net
,
Entity Framework (EF)
,
T4
,
TDD
Fri, May 22 2009 3:31
POCO: CreateObject and object initializer
When we work with POCO entities, queries return instances of proxy class which inherits entity types. Having some proxy instances allow us to use lazy loading. When we create an entity in order to attach it to the context, we can do a new on our entity...
Posted by
Matthieu MEZIL
| with
no comments
Filed under:
.Net
,
C#
,
Entity Framework (EF)
,
Entity Data Model (EDM)
,
T4
Tue, May 19 2009 15:41
Play with T4
One of the most important new thing with EF4 (EF v2) is POCO entities (no dependency with EF). Having independent classes is good but code generation also is. Indeed, if we want to change entities we don’t have to do the work twice (one for edmx...
Posted by
Matthieu MEZIL
| with
no comments
Filed under:
.Net
,
Entity Framework (EF)
,
Entity Data Model (EDM)
,
T4