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
Article
Bug
C#
EDM
EF
Fun
LINQ To Object
LINQ To SQL
MEF
MSIL
Perso
Quizz
SQL
VB .Net
VS
Winforms
WPF
News
French blog
Community
Home
Blogs
Media
Groups
Email Notifications
Go
Archives
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
»
VS
(
RSS
)
.Net
EDM
EF
Thursday, August 21, 2008 6:23 PM
How to have a property on ObjectContext which returns the derived entities? v2
With Danny advices, I improve my custom code generator to do this in only one generation. public class SampleEdmxCodeGenerator : BaseCodeGeneratorWithSite { private EntityContainer _objectContext; private Dictionary < string , string > _entitySetNames;...
Posted by
Matthieu MEZIL
| with
no comments
Filed under:
.Net
,
EF
,
EDM
,
VS
Thursday, August 21, 2008 9:39 AM
How to debug a code generator used by VS?
In my case, I wanted to debug my edmx CodeGen but you can do it for a lot of other cases. So how to debug your CodeGen? I think there is probably a better way but this is what I did: In my CodeGen, I put a MessageBox.Show I open 2 VS: one with my CodeGen...
Posted by
Matthieu MEZIL
| with
no comments
Filed under:
.Net
,
EDM
,
VS
Thursday, August 21, 2008 8:40 AM
How to have a property on ObjectContext which returns the derived entities?
With EF v1, we have an ObjectContext which has one property per EntitySet. The "problem" is that if you have an entity type Person and an entity type Employee which inherits Person, you will have only one property Persons because there is only...
Posted by
Matthieu MEZIL
|
1 comment(s)
Filed under:
.Net
,
EF
,
EDM
,
VS
Thursday, August 21, 2008 3:27 AM
Debug with the .Net Framework code
With VS2008, we were able to Debug with the .Net Framework code. But there weren't all the dll. With the SP1, yes! Moreover, the activation of this is really easier than before. You don't have anything to do! You just need to go to the call stack...
Posted by
Matthieu MEZIL
|
2 comment(s)
Filed under:
.Net
,
VS