I\'m dealing with a legacy database that has date and time fields as char(8) columns (formatted yyyyMMdd and HH:mm:ss, respectively) in some of the tables.How can i map the 2 char columns to a single
I\'m attempting to use an HQL query in a <loader> element to load an entity based on other entities.
Here\'s a starter list: if hbm is hand generated, is it an embedded resource? if using FNH, does it pass a PerssistenceSpecification test?
I am applying NHibernate to an existing project, where tables and columns are already defined and fixed.
Lets suppose that I have a Category table with a column that holds the id of a par开发者_如何转开发ent or child category from the same table. This design would allow me to have unlimited levels of Cat
I\'d like to have NHibernate call a stored procedure when ISession.Get is called to fetch an entity by its key instead of using dynamic SQL.
I have two entities types: RunContainer parent entity type Run child entity type Run has a property Status, which is of type RunStatus, like so:
So, I\'m having a problem mapping in fluent nhibernate. I want to use a join mapping to flatten an intermediate table: Here\'s my structure:
I\'m having a problem with fluent-nhibernate and criteria. I have the following setup. class AMap : ClassMap<A>
I have two entities: public class Parent() { public ICollection<Child> Children { get; set; } } public class Child()