fluent-nhibernate
fluent-nhibernate copied to clipboard
Fluent NHibernate!
I have to map a legacy database with the following (simplified) structure ActiveRecord Root Table and Class TypeInfo Child Table and Class with foreign key to ActiveRecord MessageType Class that...
extended the API to allow for specification of index Type and value type in case of EntityMaps. I tried to create test, but unfortunately I could not find how to...
Would be nice to have a nightly build that applies R# inspections and NDepend code analysis.
I have the following scenario: - entity UserRole (UserRoleIdentifier - composite key described below, User, Role) - entity AppUserRole - extends the UserRole class - entity AppUserRole - one to...
Postgresql Schema Export: do not make integer id column serial if non native generator is specified
See http://stackoverflow.com/questions/24614778/do-not-make-integer-id-column-serial In our project we need to create a db entry with assigned primary key but it becomes replaced with autoincremented value which is wrong. The test project requires...
The composite-index tag is used to map dictionaries using components as index. This does not appear to be accessible using fluent nhibernate.
GeneratorBuilder.Indentity() internalls calls EnsureIntegralIdenityType() to enforce that the identifier's type be integral. However, NHibernate itself doesn't have that restriction. In my case, I'm using a custom NHibernate IUserType for my...
`.UseOverridesFromAssemblyOf()` and `.UseOverridesFromAssembly()` when used within an inherited `PersistenceModel` cause an "Object reference not set to an instance of an object" exception at line 366 of FluentNhibernate/automapping/AutoPersistenceModel.cs. The attempt to...
Ive tried to combine auto-mapping with fluent mapping and hbm.xml Ive added the same conventions for the autoMAp as for the fluent. Everyting was ok. If I removed the conventions...