Questions tagged [edmx]

An .edmx file is an XML file in the .Net Entity Framework that defines a conceptual model, a storage model, and the mapping between these models.

Resources:

How to Create an edmx

The Entity Framework and ASP.NET

edmx File Overview

781 questions
-1
votes
1 answer

DevExpress Pivot chart database implementation

I have just installed evaluation version of devExpress component and I have followed the wizard for creating PivotGrid which I have hoped of using. The query the wizard has created db access as follows Demo.Db.Database1Entities1 db = new…
cpoDesign
  • 8,953
  • 13
  • 62
  • 106
-1
votes
1 answer

How to copy class object data to edmx object in c#

I am working in MVC. The user will enter data for about 50 fields, I will get this data in a class object from the view. So, how can I copy this class object to an edmx table object in order save data into data base in c# ?
chaitra
  • 33
  • 3
-1
votes
1 answer

EDMX database mapping two procedures to the same ComplexType

I am creating an .edmx into my MVC project. I have mapped two procedures that returns movies information from database. The first procedure, which is getMoviesByName, returns only Id and Name. The second procedure, which is getAllMovies, returns…
Roger
  • 1
-1
votes
1 answer

The namE attribute is not supported in this context

While i open .EDMX in Visual Studio 2012 means when i click on it, it gives me error like: The namE attribute is not supported in this context. and the same error i get in other application/projects also, this happen only with edmx file not other…
Mahavirsinh Padhiyar
  • 1,299
  • 11
  • 33
-1
votes
1 answer

Microsoft MDX tutorial: source structure column not found

I am in the process of learning about Microsoft's Analysis Services for SQL Server 2012. Having gone through the basic AdventureWorks tutorial using the VisualStudio 2012 plugins, I am now trying my hand at executing these same procedures using the…
MSB
  • 854
  • 7
  • 24
-1
votes
1 answer

How to update Database Using Database first approach

I have been trying to update the database when we deploy the application on the client's machine using sql queries. Now i want to update the database automatically. Is there any way to do this, i have heard of SQLMigrations but they say that it can…
Murtaza Munshi
  • 1,065
  • 4
  • 13
  • 40
-1
votes
2 answers

EntityFramework - why so many entity keys?

I've created an Entity Data Model from my SQL Server database. Despite only having one primary key in each of my tables, almost all of my properties are marked as Entity Keys. I can of course modify these, but can anyone tell me why this happens?
Jonathan
  • 13,947
  • 17
  • 94
  • 123
-1
votes
1 answer

Entity Framework stored procedure function imports with associated database object

Let's say that in SQL, I have two tables: In my EDMX,, I have a function import for a SPROC which returns columns corresponding the entity type for Table A. If in the the SPROC, I select the corresponding data from Table B, will Entity Framework…
Matt
  • 25,943
  • 66
  • 198
  • 303
-1
votes
2 answers

ASP.NET With Firebird database problems

Did you ever try to create a ASP.NET MVC Project with Firebird database...I try it, and is difficult.. My problem: I have working Firebird provider for Visual Studio 2010. I have correct database with all needed for increasing the id of the…
Takerman
  • 21
  • 7
-2
votes
1 answer

how to diagnose issues in web page and png file via edm

Png file I want to ask few questions: 1. What is EDM. 2. How to diagnose issues in a web page and .png file via EDM.
S Kalra
  • 9
  • 5
-2
votes
1 answer

edmx import tables in tables with first letter uppercase

Hi i am using database first, database is in Mysql. i import the data using edmx designer database first, however, it imported with the first letter in lowercase, so do the generated classes. How can change it to make it uppercase ? Thanks
dtjmsy
  • 2,664
  • 9
  • 42
  • 62
-2
votes
1 answer

Dynamically load asp.net Content from database

My solution consists out of a single page, "Content.aspx" which I use to populate with different types of html data depending on the querystring. I need to know, if possible, how to load aspx content in my page. I've tried adding code like…
Dewald Henning
  • 353
  • 5
  • 16
-2
votes
1 answer

Edmx Entity model inheritance

I want to create a generic Entity Model, with some classes and logics above, to put into a DLL and reuse that in various projects. I keep in mind the possibility to extend the generic ModelContainer in another in every project and use the extended…
Paolo Dragone
  • 939
  • 1
  • 11
  • 27
-3
votes
4 answers

No option to add EDMX file to project in MVC solution

I've created an MVC application. I would like to now add a new class-library project to the solution, and then add an EDMX file to that project. This used to be easy. But now I have to choose between .NET Core and .NET Standard. But it appears it…
Jonathan Wood
  • 65,341
  • 71
  • 269
  • 466
-5
votes
1 answer

How do I generate a class diagram from Edmx Diagram in ADO.NET Entity FrameWork 4?

How do I generate a class diagram from Edmx Diagram in ADO.NET Entity FrameWork 4? I use Visual Studio 2010.
Abdennour TOUMI
  • 87,526
  • 38
  • 249
  • 254
1 2 3
52
53