Questions tagged [entity]

In computer science an entity is an object which has an identity and can be uniquely determined, holds storable information or can be processed. As the term has a very abstract and general meaning prefer to use this tag only in conjunction with other more specific tags.

In computer science an entity is an object which has an identity and can be uniquely determined, holds storable information or can be processed. The term does not apply to a specific technology but has a more abstract meaning.

An entity is one building block in an entity-relationship model (ERM) to describe how data are modeled in an information system.

Often used specific meanings for "Entity" on Stack Overflow

  • A class or instance of a class which is mapped to a relational database by Microsoft's Entity Framework
  • A data object in Apple's iOS Core Data Framework

Links

6421 questions
2
votes
2 answers

Audits with Spring Data Neo4j

I'm currently working on a project that makes use of Spring Data Neo4j. Whenever a NodeEntity is created, I would like to create a referenced Audit NodeEntity that contains the creation date and user. A solution that I've come up with, is to write…
tstorms
  • 4,941
  • 1
  • 25
  • 47
2
votes
2 answers

What HTML entity to use in the email subject line for a heart?

This question may sound like stupid but I tried all possible HTML entities and the subject line for the email I send is still not showing the heart on Apple devices (iPhone, iPad, etc). It may be just the software I use for testing (MaxBulk Mailer,…
Snowalker
  • 309
  • 1
  • 7
  • 16
2
votes
0 answers

How Can I Refresh Data from Database to EF 5.0 DBContext Entities Cache?

I am using Entity Framework 5.0, DBContext Entities, I obtain data from database through linq queries, something like: from shop in MyEntities.Shops.Include("Equipments") select shop Sometimes I want to refresh part of the cached data, but I…
FangHe
  • 21
  • 1
2
votes
0 answers

Java Entity Positioning

I am a complete beginner to programming, but I've spent the last month reading and looking through tutorials. I am stuck in my current project. I'm set up an entities package, with a class called Mob inside. From Mob, I've created Player and a…
2
votes
2 answers

ZF2 Classmethods Hydrator working with RowGateway

i'm trying to implement the RowGateway class to my entities, I already have a form working with the entity and I'm trying to set the hydrator to work with ClassMethods. I also noticed that ArraySerializable hydrator calls the populate() method or…
Jean Paul Rumeau
  • 343
  • 4
  • 16
2
votes
4 answers

DDD Entity, Value Objects and Database mapping and updates. An immutable contradiction?

I have been working on a little project in DDD. I see everywhere that Value Objects are immutable, thus, you can't modify it. Only entities. I am going to use the example everybody uses. Address. Let's say Address is a VO of the Customer entity…
Pepito Fernandez
  • 2,352
  • 6
  • 32
  • 47
2
votes
3 answers

Hibernate Envers - Audited Entity can't recover ID from empty audited table relation

I need some help on Hibernate Envers. I have the following scenario: I have a Entity in Hibernate/JPA and this Entity has a normal configuration: package com.algar.fsw.siscos.model; /** * TbUsuario generated by hbm2java */ @Entity @Table(name…
2
votes
1 answer

Export database data to csv from view by date range asp.net mvc3

I am trying to find a way to export data from my database and save it as a .csv file. Ideally the user will be able to select a date range on a view, which will display the data to be exported, then the user can click an "export to CSV" link. I've…
WiseGuy
  • 409
  • 1
  • 8
  • 19
2
votes
1 answer

Android HttpClient: sending a post request with MultipartEntity or Entity

Basing on this response I have learnt which I must use MultipartEntity in order to send an http post request with a body and parameters. What I don't know is: once the request arrives on server side, does it have to manage in a different way the…
Massimo
  • 3,436
  • 4
  • 40
  • 68
2
votes
1 answer

Object Instance has been disposed (EF)

I'm having some problems with retrieving my Project entity in the EntityFramework. It keeps giving me the Objest instance has been disposed error. I've got 2 instances, as seen in the image below. And the following code gives me the error: …
Mittchel
  • 1,896
  • 3
  • 19
  • 37
2
votes
1 answer

Try to use EmbeddedId in Superclass

I have the following problem: I have a base class (used as superclass) with a composite primary key. And now I'am trying to setup subclasses correctly from the base class, but this doesn't work! Could somebody help me? Thanks Here are my…
2
votes
2 answers

EF5 Grdiview only Count & ReadOnly

In Entity Framework When I add Drag from Datasource the grid view only shows Count & Is Read Only Column, I have also tried manually assigning datsource but still not working.
2
votes
1 answer

Static methods to transform DTO to Entity

What is a better approach for implementing converter from DTO to Entity? Using factory with static methods to convert or using instance Converter object?
obogoliy
  • 31
  • 4
2
votes
2 answers

How to INSERT into table using Entity Data Model (EDMX)

I am trying to write a button handler in VB.NET that will read rows from a gridview and write them to a DB if a checkbox is checked. I setup this application to use EntityDataSource and added my .edmx file to a DAL folder. I have the button method…
2
votes
1 answer

ADO.Net Entity Model (edmx) vs Entity Framework(v4.0 etc)

What are the benefits of using ADO.Net Entity Model and EF? Can we use both of them together in a project. I came across an example where, the user had used both edmx and ef for his application. I am not sure what is the purpose of that. Thanks
tjRulz
  • 441
  • 5
  • 9