This is the HBM generated by my fluent configuration

<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-
access="property" auto-import="true" default-cascade="none" default-
lazy="true">
  <class xmlns="urn:nhibernate-mapping-2.2" mutable="true"
where="DeletedOn is NULL"
name="LZerp.Model.Quotations.ProductQuotation, LZerp.Model,
Version=0.1.0.0, Culture=neutral, PublicKeyToken=2398ab9696272510"
table="ProductQuotations">
    <id name="Id" type="System.Int64, mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" unsaved-value="0">
      <column name="Id" />
      <generator class="identity" />
    </id>
    <version name="Version" type="System.Int64, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="Version" />
    </version>
    <property name="DeletedOn"
type="System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="DeletedOn" />
    </property>
    <property name="Name" type="System.String, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="Name" length="100" not-null="true" />
    </property>
    <property name="Group" type="System.String, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="GroupName" length="100" />
    </property>
    <property name="Description" type="System.String, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="Description" length="500" not-null="true" />
    </property>
    <property name="Format" type="System.String, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="Format" length="100" not-null="true" />
    </property>
    <property name="Color" type="System.String, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="Color" length="100" not-null="true" />
    </property>
    <property name="PrinterType" type="Int64">
      <column name="PrinterType" not-null="true" />
    </property>
    <property name="PaperType" type="System.String, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="PaperType" length="100" not-null="true" />
    </property>
    <property name="PaperWeight" type="System.String, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="PaperWeight" length="100" not-null="true" />
    </property>
    <property name="PaperCostType" type="Int64">
      <column name="PaperCostType" not-null="true" />
    </property>
    <property name="PaperUnitCost" type="System.Decimal, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="PaperUnitCost" not-null="true" />
    </property>
    <property name="PaperReamWeight" type="System.Decimal, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="PaperReamWeight" />
    </property>
    <property name="GraphicCost" type="System.Decimal, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="GraphicCost" not-null="true" />
    </property>
    <property name="PhotolithographyEquipmentCost"
type="System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089">
      <column name="PhotolithographyEquipmentCost" not-null="true" />
    </property>
    <property name="CostOptions" type="Int64">
      <column name="CostOptions" not-null="true" />
    </property>
    <set cascade="none" inverse="true" name="Editions"
where="DeletedOn is NULL" mutable="true">
      <key>
        <column name="IdProductQuotation" />
      </key>
      <one-to-many class="LZerp.Model.Quotations.EditionQuotation,
LZerp.Model, Version=0.1.0.0, Culture=neutral,
PublicKeyToken=2398ab9696272510" />
    </set>
    <many-to-one class="LZerp.Model.Tags.PaperFormat, LZerp.Model,
Version=0.1.0.0, Culture=neutral, PublicKeyToken=2398ab9696272510"
lazy="false" name="PaperFormat">
      <column name="IdPaperFormat" not-null="true" />
    </many-to-one>
    <many-to-one class="LZerp.Model.Tags.PrintFormat, LZerp.Model,
Version=0.1.0.0, Culture=neutral, PublicKeyToken=2398ab9696272510"
lazy="false" name="PrintFormat">
      <column name="IdPrintFormat" not-null="true" />
    </many-to-one>
    <many-to-one class="LZerp.Model.Quotations.Quotation, LZerp.Model,
Version=0.1.0.0, Culture=neutral, PublicKeyToken=2398ab9696272510"
name="Quotation">
      <column name="IdQuotation" />
    </many-to-one>
  </class>
</hibernate-mapping>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to