Questions tagged [entity-model]

The Entity data model (EDM) specifies the conceptual model (CSDL) of the data, using a modelling technique that is itself called Entity Data Model, an extended version of the Entity-Relationship model

The Entity Framework is a set of technologies in ADO.NET that support the development of data-oriented software applications. Architects and developers of data-oriented applications must model the entities, relationships, and logic of the business problems they are solving, and they must also work with the data engines used to store and retrieve the data. The Entity data model (EDM) specifies the conceptual model (CSDL) of the data, using a modelling technique that is itself called Entity Data Model, an extended version of the Entity-Relationship model.

http://en.wikipedia.org/wiki/Entity_Framework#Entity_Data_Model

53 questions
0
votes
2 answers

entity framework add poco to entity model

UPDATE: I understand that I can go from 2 to 3 by creating a DB and then creating entity model from the framework. I am looking for a way to create the entity model without creating a DB. 1) I am trying to use entity framework 5. 2) I have my poco…
yamspog
  • 18,173
  • 17
  • 63
  • 95
0
votes
1 answer

Entity Designer / Entity Framework / edmx - update only storage model (not conceptual model)

I have created a conceptual model and I've mapped it to storage model. Then I've been making changes to DB, adding/changing/etc fields. What I want now is to update the mappings between my new DB structure and a conceptual model, but I do NOT want…
user2328625
  • 361
  • 4
  • 13
0
votes
1 answer

Entity Model cannot accept View without id?

SELECT DISTINCT TOP (100) PERCENT country_Code, country_Name FROM dbo.Location Message 1 The table/view 'mixtapez.dbo.View_Select_Country' does not have a primary key defined. The key has been inferred and the definition was…
0
votes
1 answer

Do I need to regenerate entity model if I change databases?

I was given a console app to be moved to a different server. I also need to move tables used by this application to a different server/database. The new database has a different name. The app was converted I believe from VS2005 to VS2010 before…
Boroda
  • 195
  • 1
  • 7
  • 23
0
votes
2 answers

Switching connection strings

I've created a class library that contains three entity models for three databases that other classes have to connect to. This class library is then used by three different web services and a website. These are all installed on their own server so…
Wim ten Brink
  • 25,901
  • 20
  • 83
  • 149
0
votes
1 answer

How do I map two relationships between the same two entities?

Some advice on how to even properly describe these relationships would be a great start. Something accurately described is a problem looking for a solution. I have entities User and Login, where Login describes basically a login session for one…
ProfK
  • 49,207
  • 121
  • 399
  • 775
-1
votes
2 answers

How to populate an entity model using EF raw SQL queries and/or LinQ?

I want to populate the entity model below: public class MyModel { public Abc Abc { get; set; } public Def Def { get; set; } public List Ghi { get; set; } } public class Abc { [Key] public int ID { get; set; } …
Tomo
  • 429
  • 1
  • 10
  • 24
-1
votes
1 answer

Cannot call EntityModel from c# code-file

I created an EntityModel in Visual Studio 2010 to use with Linq. What I see in my Model Browser are: >AcrrualEntityModel.edmx >>SteeringWheelModel >>>Entity Types >>>>TblFTEReportNew >>>>>Field1 >>>>>etc.. In my Default.aspx.cs file I should be…
1 2 3
4