I have got an abstract base class and inherited poco entities. I am using table per subclass inheritance with fluent nhibernate 1.1 automapping.
Is it possible to set a naming convention for all collection of an entity even if I use the Access Strategy or not, so that all collection names are {EnityName}s instead of {entityName}s (because of A
Here is the basic situation.In our application, we have Roles and Permissions.There is a many-to-many relationship between roles and permission.The catch is, that a user can be assigned roles directly
at first i\'m really new to ORM, nhibernate and FHN. i look into this stuff for a few days now. i have an existing database with 4 tables:
I am trying to map an enum property (instance of System.DayOfWeek) in my model to an integer database field.
Is it possible to execute a statement like this in NHibernate? SELECT * FROM mytable开发者_运维知识库
I Have the Following Code in a VERY small Console App: using System; using System.Collections.Generic; using System.Linq;
I have an application I\'m porting from MSSQL and .NET to S开发者_开发百科QLite and Mono. I\'m using NHibernate, FluentNHibernate, NHibernateLINQ and SQLite.
I was trying to change a convention so that my IDs follow this simple rule: ProductCode, CustomerCode, OrderCode etc etc.
I have an entity called Strategy, and another one called Team. Both are mapped using a Many-To-Many relationship: