Questions tagged [entity-relationship]

An entity-relationship model (ERM) is an abstract and conceptual representation of data, information aspects of a business domain or its process requirements. Ultimately ERM is being implemented in a database.

Entity-relationship modeling is a database modeling method, used to produce a type of conceptual schema or semantic data model of a system, often a relational database, and its requirements in a top-down fashion. Diagrams created by this process are called entity-relationship diagrams, ER diagrams, or ERDs.

The main components of the ER diagrams are the entities and the relationships that exist among them. For example with the original notation, in the relational databases tables are shown as boxes, its attributes as ovals and their relations with other tables with lines.

The three schema approach to software engineering uses three levels of ER models that may be developed:

  • Conceptual data model is the highest ER model, that contain least granular detail but establishes the overall scope of what to be included in the model set.

  • Logical data model contains more detail than the conceptual ER model. Operational and transcational data entities are defined.

  • Physical data model - one or more such models can be developed from each logical ER model. Normally developed to be instantiated as a database, therefore each physical model must contain enough detail to produce a database.

2962 questions
0
votes
1 answer

entity framework fluent api - create forgein key based on naming convention

I start learn EF Fluent API. I have 2 simple POCO classes. public class Customer { public int CustomerId{ get; set;} public string Name{ get; set;} } public class Project { public int ProjectId { get; set; } public int CustomerId {…
0
votes
1 answer

Difference between ER Diagram 1 and ER Diagram 2

Just wondering whats the difference between ER Diagram 1 and ER Diagram 2?
JavaNoob
0
votes
2 answers

POCO proxy not able to automatically set a relationship

One of the requieremets for change tracking proxies is that a navigation property that represents the "many" end of a relationship must return a type that implements ICollection. Change tracking proxies also provide classes with automatic…
user702769
  • 2,435
  • 2
  • 25
  • 34
0
votes
1 answer

Categorization relationship issue, IDEF1X notation

I've sketched up the following logic data model schema: http://img406.imageshack.us/img406/6260/proj1x.png The problem is in the section MT payment with the general entity @mt_transac@. I can't establish a categorization relation with the category…
Agent Coop
  • 392
  • 4
  • 12
0
votes
1 answer

Can I persist child objects in @PrePersist handler of a parent class? (Objectify 3.1b1)

I am new to Objectify and trying to implement One-to-Many relationship. I have entities Organization and entity Person. Organization has @Transient property List< Person > contactPeople. Class Person has @Parent property Key< Organization >…
expert
  • 29,290
  • 30
  • 110
  • 214
0
votes
1 answer

Conflicted with the FOREIGN KEY

The error occurs when saving the object couple. Code Data class public class User { public Guid Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Email { get; set; } public…
ridermansb
  • 10,779
  • 24
  • 115
  • 226
0
votes
1 answer

Core Data - How to establish relationship between two objects in different contexts

In my app, I have the following CoreData model : a Foo has many Bar Entities : Foo <---->> Bar. To add a new Foo entity, I create a new MOC in which I create a new instance of Foo. This displays the AddFooViewController. Here, I can either Cancel or…
0
votes
2 answers

Hibernate design dilemma; parent - child relationship with address link

I have an existing entity design. There is an Individual entity. A Guardian or a Minor are stored as Individual. If u r a Minor, u r assigned zero or more guardians. This relationship is stored in a different entity. There is an additional…
Ender Wiggin
  • 414
  • 1
  • 6
  • 16
0
votes
1 answer

How do I declare one-to-one relation in code-first ef.1

I have two classes public class User { [Key] public int Id { get; set; } public Avatar Avatar { get; set; } } public class Avatar { [Key] public int Id { get; set; } [Required] …
user278618
  • 19,306
  • 42
  • 126
  • 196
0
votes
0 answers

save data aggregationly in floor database flutter

I have three tables named 1.members – 2.group – 3.membergroup. The relationship between the group and members table is many-to-many, which is defined inside the membergroup table and the membership group of the members in the groups. The membergroup…
Robert
  • 85
  • 1
  • 1
  • 6
0
votes
0 answers

Diagram for Non-SQL Database

I am trying to create a entity relationship diagram for a Non-SQL Database. Basically the data represents a user which can select multiple languages which means it is a "n to m" relationship. Now for your typical SQL based databased you'd create…
Tobs
  • 29
  • 4
0
votes
0 answers

Entity relation for groupings of different things

Entities: Capability Responsibility Implementation Components Component Responsibilities At the root level I have a Capability Responsibility (CR). This gets fulfilled by groups called components. The implementation can be made up of something…
streetsoldier
  • 1,259
  • 1
  • 14
  • 32
0
votes
0 answers

I have some trouble understanding things in my ER diagram

I recently had an analysis exam and one part of the document contains an entity relation diagram. I got a response from the professor (who is now unavailable for questions) with some remarks. Most of them are from the ER diagram. I'm not the best at…
Oddy36
  • 11
  • 5
0
votes
1 answer

CORE DATA Many to Many relationship. How to update or set relationship?

I have 2 entities Locations and Items. Many to many relationship. So each item can have multiple locations and any location can have multiple items. I'm parsing an XML of items and than trying to add locations. So I have ManagedObject item and I…
0
votes
0 answers

SQL database for Linguistic corpus

Few months ago i discuss a question about creating linguistic corpus and what i need for this purpose. Now i create a er diagram of database(Mysql) of Corpus. As i know there are some specialists in that field in StackOverflow and i want to see your…