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
-1
votes
3 answers

Storing an array in core data swift 2

I want to be able to store an array in a property called items. But core data does not store arrays for some reason. How can I save a collection of data with a varying size in core data? Please post code or a link to a tutorial.
Matt Spoon
  • 2,760
  • 5
  • 25
  • 41
-1
votes
1 answer

html entities not displaying properly

I made a function for my website that converts special characters, in case someone will try to break out the system using colon, semicolons, single quotes or double quotes. I made an array of find which is the find variable in str_replace and change…
Bido262
  • 149
  • 1
  • 1
  • 8
-1
votes
1 answer

CSV bulk import in Drupal 7 (performance issue)

I want to bulk import CSV data to Drupal 7. Here is the scenario: I am using 3 entities to combine and form a 4th entity; I have to perform CRUD operation with this CSV import; The process is slowing down with time: there are around 18000 records…
-1
votes
1 answer

What kind of entities i should create in doctrine for this db structure

I have two tables in DB (topic, topic_content): what kind of entities i should create for symfony2? I think, i should have something like this in my symfony structure (Entities/Topic.php, Entities/Topic_content.php) help me please..
user2531518
  • 39
  • 1
  • 2
  • 6
-1
votes
3 answers

symfony2 relation between two entities

i am started to learn symfony2, Here i have some basic doubts on entity relations. Totally i have two entities 1.Admission.php and 2.Mstcity.php , just i wanna make relation between these two entities. mysql Table structure:1.admission= id, name ,…
-1
votes
1 answer

designing classes based on database-design

i have a little problem with my ojt-project. i was given a database design and have to do a class design for it. however i have never designed classes based on an exisiting database so i am confused of which classes i should design. here's a little…
LeonidasFett
  • 3,052
  • 4
  • 46
  • 76
-2
votes
2 answers

How to write an HTML entity without it changing on my page?

I would like to showcase an HTML entity and the way its written in code next to it. I just cant find a way to write & without it turning to @ in my page. What should go with it so it is shown as plain text ?
-2
votes
2 answers

Ampersand displayed as '&' in XML document

I'm having troubles with displaying the ampersand character inside a XML document, using PHP 5.6 (can't use PHP 7.x right now) I tried using str_replace(), preg_replace and some other functions found here: Unable to Parse ampersand in PHP string and…
-2
votes
1 answer

How use SQL primitive in C# entities

How use SQL primitive in C# entities? Example: SELECT studentID, studentName FROM dbo.Student I did: using(studentEbestuur db = new studentEbestuur()) { var ListST = db.ChungLoais.SqlQuery("SELECT studentID, studentName FROM…
-2
votes
3 answers

Can I pull the values of multiple columns with only a single foreign key?

I'm working on a C# project that incorporates SQL, mainly using entities and linq. Let's say I have two tables. Table 1 primary key | name | date Table 2 primary key | fktable1 | price I would like to display Name, Date AND price in a…
S. Hoppe
  • 1
  • 2
-2
votes
2 answers

AppBundle symfony 4

I have a problem with Symfony 4, I want generate entities from an existing database with the command : php bin/console doctrine:mapping:import --force AppBundle xml But an error appears : Bundle "AppBundle" does not exist or it is not enabled.…
-2
votes
2 answers

When to use new table mySql

When should one create a new table in a database and use new ids? Example in a database for tickets for concerts, should I create a new table for each concert then delete it afterwards? Keeping all the tickets in one database with unique ID's for…
Yoker
  • 500
  • 4
  • 20
-2
votes
1 answer

Xcode - Create a NSMutableArray consisting of an entity and its attributes

I have an entity called "People" with 2 attributes, I need to add an entity to full Array Something like: self.personaDetail.nombre = self.textNombre.text; [self._personas addObject: self.personaDetail.nombre]; Can you help? Thank you,…
-2
votes
1 answer

html_entity_decode not working in XML dom nodeValue

I have the test.xml file where I want these node values to be encoded: ...
> < <
... So i wrote this code but after it saves the XML is the same,…
-3
votes
1 answer

Symfony defining Foreign key

This is my ERD I need help with how to associate the foreign keys with my entities from what i know is that it has to something with this kind of code: /** * @ORM\ManyToOne(targetEntity="Category", inversedBy="products") *…
Azhar
  • 1
  • 1
1 2 3
55
56