zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

45 results in tag: edmx

Nightmare of Entity Framework Merge

We've adopted the Entity Framework and we're finding that when multiple people make isolated changes in their individual source control branches, there are massive conflicts when they come together in a merge, resulting in broken model files....We're lean...
edmx entity-framework merge tfs version-control
asked by ctorx

When re-adding tables to entity-model, they don't appear (edmx)

I have a db with 5 tables. At the beginning, I've added those tables in, but then decided to remove some due to some relationship compile error....Now, when i want to add them back, i'm opening the edmx file -> update model from database... I don't see th...
edmx entity-framework entity-model
asked by Or A

Connection string for EDMX

so the story is like this....I have a project, called PA.DLL, which have an entity model inside of it (edmx) file....In another project which i'm referencing to the PA.DLL, i copied the connection string that was created (automatically) when creating the...
connection-string edmx entity-framework
asked by Or A

A big Entity Framework Diagram may be exported.

I have a fairly large Entity Diagram. I tried to export it to an image, unfortunately because it's so large the image comes out all pixelated....See this link ...http://connect.microsoft.com/VisualStudio/feedback/details/534574/edmx-model-image-export-pix...
edmx entity-framework visual-studio-2010
asked by Stephen Lacy

How to remove and re-add Entity Data Models correctly

newbie to Entity Framework here. Using VS 2010 and SQL Server 2008 express DB....I was having trouble refreshing an Entity Data Model after adding new tables. So, I followed a suggestion I found here to just delete and regenerate the model....I get to t...
datamodel edmx entity-framework
asked by David

Using Entity Framework (.edmx Model) and Razor Views, create a dropdown list for MVC3 and insert a database record into several tables.

After reading 100's of articles on here about how to create a DropDown List in MVC 3 with Razor Views, I could not find one that fit my case....Situation:... I am ultimately trying to create a View to Add an Employee to a Database....Here is an image of t...
asp.net-mvc-3 edmx entity-framework html.dropdownlistfor razor
asked by Timothy Green

Visual Studio 2010 SP1 & ADO.NET Entity Framework 4.1 No Entity Data Model (EDMX) Template

I'm having a lot of issues with the templates of Visual Studio 2010 SP1 & ADO.NET Entity Framework 4.1...I noticed that other people had these problems, and asked similar questions, but I don't think they gave enough information to make it solve-able....T...
ado.net edmx entity-framework visual-studio-2010 webmatrix
asked by Jarred Sumner

Create the csdl, ssdl, and msl files using the Entity Framework.

I work with EF 4 (not with Self-tracking entities currently). I've added some columns (non of them is a key and all of the are nullable) to one of my entities, and got the ...Number of members in conceptual type does not match with number of members on ob...
edmx entity-framework
asked by Noich

"The supplied LINQ phrase includes references to queries associated with various contexts," says the error message.

I am receiving the error shown in the title from a LINQ query that includes two tables from two different edmx files. Here is the query:...var query = (from a in db1.Table1 join b in db1.Table2 on a.Id equals b.Id orderby a.Status ...
c# edmx entity-framework linq
asked by Ashiq A N

Entity Framework EDMX to Code First Conversion Tool

Is there a tool to convert an edmx into code-first? I know there was talk of one appearing in a CTP a while back, but I can't find any updates relating to this....There's a guy on the ...MSDN forums... who has written his own (not available yet), but not...
.net code-first edmx entity-framework
asked by SturmUndDrang

MVC3 Entitiy Framework for ASP.NET - In MetadataWorkspace, the EntitySet 'x' mentioned in this MSL does not exist.

I'm making an reservation system....The following query ... Reservatie r = (from res in entities.Reservaties where (res.datum == date && res.tijdslot == time) select res).FirstOrDefault(); ...gives me the following error...Error 54 ...
asp.net-mvc asp.net-mvc-3 c# edmx entity-framework
asked by tortuga

In Entity Framework, how do I create a database from an.edmx file?

I have had to suddenly switch to working on Code First Entity Framework 4.1. I started off not knowing anything about this framework but in the last 8 hrs I am now much more comfortable having read blogs and articles....This blog in particular... is one o...
auto-generate c# database edmx entity-framework
asked by Red Swan

How may DataAnnotations Attributes in the DataBase First Model not be deleted?

I have my asp.net mvc 3 application with entity framework and i used the Database First model to set it up....My Steps below: 1. Genarated a database with tables 2. Created ADO.NET Entity Data Model file (.edmx) and imported the tables 3. inside the de...
asp.net-mvc data-annotations database-first edmx entity-framework
asked by python

How do you make database updates to an edmx file?

I have an edmx file and I changed a table in my database. I know that there is an "Update Model from database" wizard, however in many cases this is useless....For example if I change a field from non null to nullable or if I remove fields the update mod...
edmx edmx-designer entity-framework
asked by dtc

When using Dapper with Entity Framework, should table constraints be relaxed or disabled?

I would like to set a do something like this ...dataSet1.EnforceConstraints = false;... using the Dapper.Net ORM and Entity Framework....I created the models in VS2010 where a property:... [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable...
.net-4.0 dapper edmx entity-framework
asked by ElHaix

Provider connection string from Entity Framework

If you are using object contex data model (with EDMX file), during its creation you might want to specify the connection string inside your config file. ...The connection string is unfortunately not the common connection string as it contains some ...thin...
c# edmx entity-framework objectcontext
asked by Mirek

Entity Framework Migrations Error - Sequence contains no elements

command:... add-migration blahblah -verbose...error:... Sequence contains no elements...I did a few things before getting this error. I made a change to my code-first model but did not run...add-migration... yet. Then I added an EDMX model to play around ...
.net ado.net-entity-data-model edmx ef-code-first entity-framework
asked by Benjamin

How to join two table from two different edmx using linq query

How to join two table from two different edmx using linq query.. Is there a way to query from 2 different edmx at a time....Thanks.
edmx entity-framework linq
asked by John Hawkins

Enum Support for Entity Framework Database First

I can find a bunch of tutorials on how to implement enum support for model first and code first like these:...http://msdn.microsoft.com/en-us/data/jj248772.aspx...http://msdn.microsoft.com/en-us/data/hh859576.aspx...Can anyone explain to me or provide me ...
.net .net-4.5 edmx entity-framework enums
asked by TMan

System.Data.MetadataException: Unable to load the specified metadata resource

My connection strings are as follows:...<add name="RollCallDBEntities" connectionString="metadata=res://System.Engine/RollcallNS.csdl|res://System.Engine/RollcallNS.ssdl|res://System.Engine/RollcallNS.msl;provider=Devart.Data.Oracle;provider connection st...
asp.net-mvc-3 c# devart edmx entity-framework
asked by Meysam Savameri

Page 1 of 3
  • 1
  • 2
  • 3
  • »

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!