Questions tagged [entities]

Entity-relationship model (ER model for short) is an abstract and conceptual representation of data.

In software engineering, an entity-relationship model (ER model for short) is an abstract and conceptual representation of data. 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 or ER diagrams.

832 questions
6
votes
3 answers

How to manage Many To Many relations in microservices architecture?

If i have the below entities in tow separate microservices : class Employee { @Id private Long employeeId; private String name; ... } class Department { @Id private Long deptId; private String name; ... } How can i add a many to many relation…
6
votes
2 answers

HTML CSS Unicode "entity" different line height than standard font?

I have this code: ...to output this: Everything's groovy, except the unicode…
Ben
  • 54,723
  • 49
  • 178
  • 224
6
votes
2 answers

Symfony 3: Passing variables into forms

I'm building using the Symfony 3 Forms, and need to retrieve a collection which is dependant on the current user, within the form to render in a dropdown. Using the EntityType I can retrieve a list of all entities, but I want to be able to run a…
Mrshll1001
  • 347
  • 4
  • 18
6
votes
3 answers

Is there a reference for EF4 Fluent API syntax?

I keep searching the web for examples of the new fluent API syntax in Microsoft's Entity Framework technology previews ... I come up with bits and pieces here and there. Is there any reliable place to go to find ALL the possibilities? And maybe…
Cynthia
  • 2,100
  • 5
  • 34
  • 48
6
votes
4 answers

LINQ to Entities Join on DateTime.DayOfWeek

Imagine two tables: Shifts, RANK_S_DAY. Shifts contains a ShiftDate column which is DateTime and RANK_S_DAY has a DayOfWeek column. I need to join (int)ShiftDate.DayOfWeek equals DayOfWeek. I understand why it won't work, but I'm not quite sure…
Steve
  • 4,463
  • 1
  • 19
  • 24
6
votes
2 answers

Perl - read file with encoding method?

im not too good when it comes to encoding and I am wanting to figure out how to return data as the same encoding it started with... I have a file with some characters in such as '»' by the time I have edited and and inserted into database they have…
Phil Jackson
  • 10,238
  • 23
  • 96
  • 130
6
votes
3 answers

How to merge 2 form in Symfony2

I'm trying to create a very simple forum with Symfony2. My entities are: ForumCategory (name, description...) ForumTopic (category_id, title) ForumPost (isFirstPost, body, topic_id, author_id...) When a user try to create a Topic, I want to display…
Diego
  • 215
  • 1
  • 7
  • 14
6
votes
1 answer

IsDirty() flushes new Collection entities

I have a WPF application and am using NHibernate. My question is how do I manage change? I am not completely sure about the behavior of the IsDirty. This link describes my problem. The problem list all the information of current environment.
C_sharp
  • 408
  • 5
  • 26
6
votes
1 answer

Many-to-Many compile error using greendao for android

Problem solved! - I added my solution at the bottom. I have what a think is a fairly simple question but I can't seem to find the answer in the documentation. I am trying to model a many-to-many relationship using greendao for android, however I get…
5
votes
3 answers

Where are my core data entities?

I have a pre-existing project to which I've added Core Data models. I added the Core Data framework, added a data model with entities, and included it in my app's target, along with some generated NSManagedObject classes. It compiles nicely, and now…
theory
  • 9,178
  • 10
  • 59
  • 129
5
votes
2 answers

DDD: bounded contexts - domain entities that reference concerns in another bounded context

I'm getting confused on how to define bounded contexts where there are shared concerns between them, and how to represent this with Domain Entities. For example: A customer has many products in a Customer context A company has and a list of products…
Andy C
  • 53
  • 1
  • 4
5
votes
6 answers

Fixing unescaped XML entities in Java with Regex?

I have some badly formatted XML that I must parse. Fixing the problem upstream is not possible. The (current) problem is that ampersand characters are not always escaped properly, so I need to convert & into & If & is already there, I don't…
Greg Mattes
  • 33,090
  • 15
  • 73
  • 105
5
votes
1 answer

Different results in Entity Framework than LINQ to SQL

I was first using LINQ to SQL in my project and used the following statement: var ProjectRouteEmails = EmailManagerDAL.Context.ProjectRouteEmails .Where(p => p.ProjectID == ProjectID); That correctly returned the three distinct emails…
user390480
  • 1,655
  • 4
  • 28
  • 61
5
votes
1 answer

RASA Story w/ Slots

Can someone clarify for me with Rasa stories involving slots: ## story with email * intent_request_email - utter_request_email * inform_email {"email":"example@example.com"} - slot {"email":"example@example.com"} - utter_thanks In the…
Nicholas Hamilton
  • 10,044
  • 6
  • 57
  • 88
5
votes
1 answer

Ruby Builder - XML output is encoding HTML entities

I have a small ruby script which uses Builder. require 'rubygems' require 'builder' content = <italics eos xml = Builder::XmlMarkup.new xml.instruct! :xml, :version => '1.0' xml.book :id =>…
agnitio
  • 137
  • 1
  • 10