Quantcast
Channel: Entity Framework
Browsing all 10318 articles
Browse latest View live
↧

Created Unassigned: EntityType 'DbGeography' has no key defined. Define the...

I get an error for define DbGeography in EF6 (i don't have this Error in EF5) entity type if I use it from base class to define key: for this class :public class University{ public int UniversityID {...

View Article


Edited Unassigned: EntityType 'DbGeography' has no key defined. Define the...

I get an error for define DbGeography in EF6 (i don't have this Error in EF5) entity type if I use it from base class to define key: for this class :public class University{ public int UniversityID {...

View Article


New Post: set db parameters of db context at runtime

hi all, I created a new database model .edmx inside visual studio 2013 using ef 6 beta 1 importing from an existing database. The dbcontext that is created when the model is saved contains the...

View Article

New Post: CA1709 Code Analysis Errors

I've cloned Entity Framework from the master branch this morning but when building I get CA1709 code analysis errors stating that types should begin with DB instead of Db. To work around this I've...

View Article

Created Unassigned: Getting NRE: Object reference not set to an instance of...

hi i have been using entity framework 5 code first in an mvc web application and it was working fine but recently i add a few more models to it as the app is growing but when i try to issue...

View Article


New Post: set db parameters of db context at runtime

@lucamorelli To add to what Pawel said, you don't need to modify the .tt file in order to add a second constructor. You can instead just use the partial class feature to define the second constructor...

View Article

New Post: CA1709 Code Analysis Errors

@MichaelPoettge You will likely need to use the "VS2012 x86 Native Tools Command Prompt" instead of just the developer command prompt, as described in the instructions referenced by Erik. If this still...

View Article

Created Unassigned: ExecuteStoreQuery releases the connection twice in...

ObjectContext.ExecuteStoreQuery will release the store connection again after the returned ObjectResult is disposed in buffered mode even though the connection was already released when buffering was...

View Article


Source code checked in, #1f54a35aa59e835354991e94789a33181043e7fc

API documentation changes

View Article


Source code checked in, #05d66e3a51259d089181bc281a237b94f8c6eb1c

Merge branch 'release-6.0.0'

View Article

Commented Issue: [NonVS] EF5 with dbcontext: Dragging a child entity from...

Action: Update content to show how to do this with EF Designer (walkthrough is Code First only)using EF5 VS2010 or VS2012 , .NET 4.0 Or 4.5 , here are the simple steps to create the problem :1. create...

View Article

Source code checked in, #e3bb946b6a115852173a56ad4a4028a76036bd6f

Updates to Summary tags - runtime

View Article

Source code checked in, #c67475bfa278cc99c0b9193418e500ef224884ac

Merge branch 'release-6.0.0'

View Article


Reopened Issue: Designer :: we incorrectly put IsOfType(...) in the msl for...

Consider the following model:``` public abstract class Creature{ public int Id { get; set; }} public abstract class Animal : Creature{ public bool IsCute { get; set; }} public class Herbivore : Animal{...

View Article

Edited Issue: Designer :: we incorrectly put IsOfType(...) in the msl for...

Consider the following model:``` public abstract class Creature{ public int Id { get; set; }} public abstract class Animal : Creature{ public bool IsCute { get; set; }} public class Herbivore : Animal{...

View Article


Commented Issue: Designer :: we incorrectly put IsOfType(...) in the msl for...

Consider the following model:``` public abstract class Creature{ public int Id { get; set; }} public abstract class Animal : Creature{ public bool IsCute { get; set; }} public class Herbivore : Animal{...

View Article

Commented Issue: Designer :: we incorrectly put IsOfType(...) in the msl for...

Consider the following model:``` public abstract class Creature{ public int Id { get; set; }} public abstract class Animal : Creature{ public bool IsCute { get; set; }} public class Herbivore : Animal{...

View Article


New Post: CA1709 Code Analysis Errors

I've read a bit about the CA1709 and how to avoid it. Having read that I do believe that FxCop is right about flagging this as an error, because there are no casing exceptions defined for the acronyms...

View Article

Commented Issue: [NonVS] EF5 with dbcontext: Dragging a child entity from...

Action: Update content to show how to do this with EF Designer (walkthrough is Code First only)using EF5 VS2010 or VS2012 , .NET 4.0 Or 4.5 , here are the simple steps to create the problem :1. create...

View Article

Commented Feature: Flexible mapping to domain classes (aka flexible O-C...

When using EF, and in particular Code First, people's expectations are naturally that we will be able to map almost anything they can put in their object model, when the reality is that the constructs...

View Article
Browsing all 10318 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>