I\'m working on a datamodel that has a set of types that share some common fields such as Id, Name, Description. To be more concrete:
I\'ve created the following two classes with their respective mappings: public class ParentClass { public int Id { get; set; }
i have the following classes and mappings abstract class BaseClass { public virtual int Keypart1 { get; set; }
I\'m using nhibernate2.1 as part of spring.net 1.3.I have the following declaration as part of my mapping.My understanding is that this object should not load unless the getter is called.I have a brea
Using NHibernate, and in my code, I know what the table name is e.g. \"Site\" - but I need to find out what the full class name is just by knowin开发者_如何学运维g this e.g. \"MyApp.Models.Site\"
I have 3 table in a sample. i am going to join 2 table but i have problem the following is my code : <?xml version=\"1.0\"?>
I have 2nd level cache working perfectly when I use Session.Get() however if I use the new QueryOver API in NH3.0 the cache does not get hit.
I have entity class A and Fluent NHibernate map for it AMap which maps some columns from database table (a few fields are missing). 开发者_开发技巧I would like to create class B which inherits from A
I have an object model like that: Folder - simple structure with name etc. File - complex object containing reference to Folder in which it is contained.
I have 2 classes that implment an interface. The interface is passed into a method as a parameter, and subsequently used as the T class in the following NHibernate syntax