entity
JPA Criteria join
I have two entity classes with many to one relation. I need to select all the p开发者_JAVA技巧arent records that has a child record with a min value smaller than provided.[详细]
2023-03-25 02:50 分类:问答Global ObjectContext or local one?
I\'m starting with the Entity Framework and the repository pattern. I\'m confused about the ObjectContext.[详细]
2023-03-24 20:09 分类:问答Mixing Model first and Code first
We created a web application using the model first approach. A new developer came into the project and created a new custom model using the code first approach (using a database file). The[详细]
2023-03-24 02:32 分类:问答Disable XML Entity resolving in JDOM / DOM
I am writing a Java application for the postprocessing of XML files. These xml files come from an RDF-Export of a Semantic Mediawiki, so they have rdf/xml syntax.[详细]
2023-03-23 19:23 分类:问答Updating values and returning updated values in Entity framework
i have a table which i use to implement a开发者_StackOverflow中文版 sequence in Sql Server 2008. The sequence table has just 1 column which is an integer.[详细]
2023-03-23 14:54 分类:问答MVC (newbie question): How do you set the default value for a View during a Create action?
Questions: How do you set default values on a Model when that default value is based on the User.Identity.Name?[详细]
2023-03-22 17:00 分类:问答Is it safe to pass Google App Engine Entity Keys into web pages to maintain context?
I have a simple GAE system that contains models for Account, Project and Transaction. I am using Django to generate a web page that has a list of Projects in a table that belong to a given Account an[详细]
2023-03-22 11:16 分类:问答nhibernate: how to setup entity validation that uses data from database?
I\'ve setup nhibernate but I have problems with validating entity before the actual save and commit to database. As I load and change persistent entity, validation that goes after is accessing the dat[详细]
2023-03-22 02:52 分类:问答Can an Entity access a Repository?
Say I\'ve got two simple entities: User and Review. How bad is it if User calls the Review repository? What is the \"clean\" way for the User to get its Reviews?[详细]
2023-03-22 02:29 分类:问答Entity Framework 4.1: Cascade Delete Database First
I hav开发者_高级运维e added Cascade Delete to my database but I do not see this update in my model. How do I make sure that my model has cascade delete enabled for a database first model?If the cascad[详细]
2023-03-21 13:36 分类:问答