So I have an NHibernate mapping file with the following property: <property name=\"FullName\" column=\"FullName\" type=\"string\" not-null=\"true\" />
I\'m writing a Fluent NHibernate mapping for a legacy Oracle database. The challenge is that the tables have composite primary keys. If I were at total freedom, I would redesign the relationships and
Given these classes: using System.Collections.Generic; namespace FluentMappingsQuestion { public class Entity
Whilst I realise that a Set or Bag is probably the correct way to do this, I\'m new to NHibernate and I\'m trying to understand why the following is happening.
I have the following mapping file: <?xml version=\"1.0\" encoding=\"utf-8\" ?> <hibernate-mapping xmlns=\"urn:nhibernate-mapping-2.2\"
I\'m trying to map a many-to-many relationship between two entities, but I need to decorate that entity with a number of properties - see the diagram below:
I\'m using Fluent NHibernate to map to an Oracle database table. The table has a number column that represents a date. The number represents the number of ticks, so the conversion is pretty straightf
I am trying to switch a table from being a many-to-one mapping to being many-to-many with an intermediate mapping table. However, when I switched it over and tried to do a query on it with NHibernate,
Why does NHibernate require me to flush the session after I delete? It does开发者_JAVA百科n\'t do need a flush after updating or saving.It does need to flush after updating or saving in addition to de
I want to reduce roundtrips to database when I add relationship. public class Parent { public virtual int Id { get; set; }