Is there a nice and elegant way to set a bean value (column) before Hibernate persists an entity? Basically I have a field called \"modification_date\". It\'s on a bunch of entities. Whenever one of t
Is there any side effect for this code: ///This code runs per requ开发者_JAVA百科est public static MyObjectContext CreateEntity()
I have the following code - public void LoadAllContacts() { var db = new ContextDB(); var contacts = db.LocalContacts.ToList();
I\'m using Entity Framework for the first time, and I need to add business logic before inserting new objects into the db, here are the options I thought about:
What is the best way to merge 2 hibernate entities before saveOrUpdate. I get one entity from the user(submitted form) and i want to save it using saveOrUpdate.
We are looking to migrate our database to SQL Azure, but as the pricing model for Azure is different than that for SQL 2k8R2 (obviously) we need to re-think the structure of our database. The structur
I have problem sorting my Gridview using my custom entity classes My complex entity public class Subscription
I\'m currently designing a web application using DDD methodology. While distinguishing the Entities from value objects, Icame across one such model element which I\'m unable to decide to pla开发者_如
I\'m using Entity Framework 4.1 Code First.In my entity, I have three date/time properties: public class MyEntity
I\'ve learned about lazy loading, eager loading with .include and explicit loading with .load(), but something that confuses me is when you project in a query and explicitly 开发者_如何学运维request a