orm
Entity Framework 4.1 Dynamically Generated Tables
I have two models; User and Client. A user can have many clients and a client has one user. The project manager insists each users clients to be in a separate table so I must dynamically generate new[详细]
2023-04-02 12:05 分类:问答Why don't my child table entities show up when i select objects using LINQ ORM mapping
I am trying to construct an object containing several listings. The object - a message - is represented by one table and the contained lists represented by one table each.[详细]
2023-04-02 11:21 分类:问答DDD - Access repositories from entities, bis
I\'ve asked a previous question last month, about whether an Entity should access a Repository, and although it looks like most people think they shouldn\'t, I have to admit it\'s hard for me to get c[详细]
2023-04-02 07:58 分类:问答SQLAlchemy EXISTS queryset
I use only django framework with his ORM. And there is some code: User.objects.filter(username=\'test\').exists()[详细]
2023-04-02 06:10 分类:问答Doctrine2 - (how to) fetch associated objects with main
Assume that i have an association mapping in Doctrine2. How to define that i need to fetch all associated objects while querying the main one?[详细]
2023-04-02 05:36 分类:问答django annotate question
I have the following model: class Pick(models.Model): 开发者_StackOverflow社区league = models.ForeignKey(League)[详细]
2023-04-02 01:44 分类:问答Using ColdFusion 9's ORM, how do you create a property that converts a database string into a boolean value?
I\'m working with a legacy database that stores a boolean column as a string, where true is \"Y\" and false is an empty string. How would I map a property so that it\'s able to convert this value to a[详细]
2023-04-02 01:01 分类:问答Java unmarshlling XML to Object which are dynamic
I\'m looking for best tool/way to create and load JAVA objects from XML definitions. I had checked out JAXB, seems pretty nice, but didn\'t find is there a way to work with Entities which properties a[详细]
2023-04-02 00:25 分类:问答LINQ To Entities does not recognize the method Last. Really?
In this query: public static IEnumerable<IServerOnlineCharacter> GetUpdated() { var context = DataContext.GetDataContext();[详细]
2023-04-02 00:11 分类:问答NHibernate's format_sql property (not that) pretty printing
Comparing the following output with samples I\'ve seen here at Stack Overflow and over the internet makes me wonder what am I doing wrong, as apparently both the show_sql and format_sql properties are[详细]
2023-04-01 21:45 分类:问答