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

New Post: Build error on UnitTest.dll

HI I get the same problem. Can you tell me how to solve? Thanks

View Article


Commented Issue: UseStrongSpatialTypes annotation missing when upgrading CSDL...

When upgrading CSDL 2.0 to CSDL 3.0 with the designer the UseStrongSpatialTypes annotation (set to false) is not added to the schema. This may result in a message/exception saying: "Currently, spatial...

View Article


New Post: Build error on UnitTest.dll

Have you followed steps from Getting and Building Code section from https://entityframework.codeplex.com/documentation? Step 5 contains instructions on disabling strong name verification for EF...

View Article

Commented Unassigned: Validation failed for one or more entities. [1571]

So I have the following Entities :[Table("UserTbl")] public abstract class User{[Key][DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)] public int UserId { get; set; }[Required] public...

View Article

Reviewed: EF 6.0.0 (八月 18, 2013)

Rated 4 Stars (out of 5) - 我只是来看看,看看而已。

View Article


Commented Feature: Local/In-Memory mode for DbContext to support unit testing...

This item was migrated from the DevDiv work item tracking system [ID=11262].Comments: Rather than a specific in-memory mode, I think an in-memory provider that explicitly supports all of the EF...

View Article

Commented Unassigned: Validation failed for one or more entities. [1571]

So I have the following Entities :[Table("UserTbl")] public abstract class User{[Key][DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)] public int UserId { get; set; }[Required] public...

View Article

Commented Unassigned: Validation failed for one or more entities. [1571]

So I have the following Entities :[Table("UserTbl")] public abstract class User{[Key][DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)] public int UserId { get; set; }[Required] public...

View Article


Edited Issue: [RTM] T4 templates and Legacy Object Context code gen strategy...

If the project is targeting .NET Framework 4 and the user selects EF6 when creating a new model from the database we will add T4 templates but will also set the Legacy Object Context code gen strategy....

View Article


Edited Issue: [RTM] Code First: Setting DateTime Precision on derived type...

If I configure a DateTime property's precision from a derived type, it does not get set in the store model. Here is my test code. using System; using System.Data.Entity; using...

View Article

Edited Issue: [Investigate EF6] Conventions are executed twice for each type...

The following code will execute the ToTable twice for the Product type:``` internal class Program{ private static void Main(string[] args){ using (var db = new ProductContext()){ var oc =...

View Article

Edited Unassigned: [Investigate EF6] Designer: update model from database...

Using the sql compact provider it is fairly easy to break a lot of the mappings for the model and to get the model in a state where it won't update from the databaseRepro:* Install packages from aspnet...

View Article

Edited Issue: [Investigate EF6] [VS] F1 key does not redirect to proper MSDN...

# REPRO0. VS 2013 latest, Console (+EF6 nuget package) or MVC5 app. Add the followingto a method: System.Data.Entity.DbContext x; System.Data.Entity.DbConfiguration y;1. Click DbContext text to make...

View Article


Edited Unassigned: [Investigate EF6] Getting NRE: Object reference not set to...

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

Edited Issue: Designer: Choose connection page does not always remember...

The "Choose Your Data Connection" page usually shows a list of previously used connections. However, sometimes I can add a connection, go through everything to completion, restart VS, start the wizard...

View Article


Created Unassigned: Filtered ObservableCollection Does Not Stay In Sync With...

With entities typed as ObservableListSource (as per the Winforms Databinding guidance), a Windows Forms BindingSource bound to DbContext.EntityTypes.Local.ToBindingList, the...

View Article

Edited Issue: [RTM] T4 templates and Legacy Object Context code gen strategy...

If the project is targeting .NET Framework 4 and the user selects EF6 when creating a new model from the database we will add T4 templates but will also set the Legacy Object Context code gen strategy....

View Article


Commented Issue: [RTM] T4 templates and Legacy Object Context code gen...

If the project is targeting .NET Framework 4 and the user selects EF6 when creating a new model from the database we will add T4 templates but will also set the Legacy Object Context code gen strategy....

View Article

Commented Issue: Reverse engineering does not mark rowversion/timestamp...

Please add a feature to automatically set ConcurrencyMode=Fixed.EF defaults to no concurrency control (last write wins) which allows lost updates.Enforcing optimistic concurrency checks can explicitly...

View Article

Edited Feature: Consider disabling validation of [Required] on navigation...

The fact that we validate [Required] on nav props can be annoying. The following details are from a bug report where this behavior was not expected...So I have the following Entities...

View Article
Browsing all 10318 articles
Browse latest View live


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