I have a component with a number of properties that have various attributes Normally when these attributes are added to a plain old domain object they are picked up by my custom AttributeConventions
I\'m trying to map a manyToMany relationship in Fluent NHibernate and running into a problem that\'s most likely just me being new at the tool.
开发者_如何学CI am trying to do versioning with NHibernate and everything works fine, however right after the insert NHibernate tries to pull the generated timestamp by executing the following query:
Is it possibl开发者_高级运维e to persist an IList<DayOfWeek> using nHibernate? public class Vendor
This article describes my problem. I have several properties that are calculated. These are typed as decimal(9,2) in SQL Server and decimal in my C# classes. An example of the problem is:
I am trying to integrate NHibernate into an existing application with several hundred tables. Due to the fact that there apparently wasn\'t a strict adherence to conventions, I am unable to use Automa
I want to know how can i fill only certain columns while filling the entity object? i am interested in certain properties of the entity and not all.
I\'m using ASP.NET MVC + NHibernate + Fluent NHibernate and having a problem with lazy loading. Through this question (How to fix a NHibernate lazy loading error "no session or session was close
I can\'t get my head around why this isn\'t working.. I have a relatively clean entity model consisting of POCOs created with DDD in mind (while probably not following most rules even loosely).
I\'m a n00b. Here\'s what I want to do: Use AutoMapping to configure every property between the model -> table. Then I would like to override 2 specific items in a fluent map.The two items are: Id &a