nhibernate
How to check unique constraint violation in nHibernate and DDD before saving?
I\'ve got an Account model object and a UNIQUE constraint on the account\'s Name. In Domain Driven Design, using nHibernate, how should I check for the name\'s unicity before inserting or updating an[详细]
2023-04-11 10:43 分类:问答Webservice Serialize IEnumerable Property
I have a rather tricky problem that has been bugging me the last 2 days. 开发者_如何学CThis is my class:[详细]
2023-04-11 09:43 分类:问答NHibernate 3.2 Mapping by convention (code) stored procedure
How can I ma开发者_运维百科p a stored procedure using mapping by convention or mapping by code?[详细]
2023-04-11 08:52 分类:问答NServiceBus: How do I extend scale for a decimal column?
We are using decimal numbers with a scale of six decimals, ie 1.123456. Now as we are using NServiceBus and we need to persist this value in our saga data we got trouble.[详细]
2023-04-11 08:49 分类:问答Eager loading a tree with nHibernate re-queries leaf nodes
Looking for some expertise before I declare the NHibernate framework broken or myself crazy! I\'m trying to eagerly load a self-referencing tree with NHibernate and can successfully load most c开发者[详细]
2023-04-11 08:15 分类:问答Wrong column name in table per subclass strategy with abstract class in hierarchy
Consider the following class hierarchy: public abstract class Entity { public virtual int Id { get; private set; }[详细]
2023-04-11 07:38 分类:问答c# nhibernate fluent mysql
See more: MySQLStored Hi to all. I have a proyect with c#+nhibernate+fluent+mysql I don\'t understand why i have to map the tables in hbm xml file, when this information is in database, but this is[详细]
2023-04-11 05:57 分类:问答NHibernate: many-to-many mapping exception
I have a c# .net 3.5 application using NHibernate and MySQL. My SQL tables are laid out in a many-to-many pattern linking configuration strings to tasks[详细]
2023-04-11 05:32 分类:问答NHibernate Bidirectional many-to-many Mapping for 2 Lists
I\'m trying to generate the correct mapping for 2 classes that have a collection of each other within them.[详细]
2023-04-11 04:10 分类:问答Is using the following akin to using the unit of work pattern
Does using an nHiberbnate session/transaction combo perform the same function that the unit of work pattern would? below is some code found on the web..[详细]
2023-04-11 04:03 分类:问答