Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed NH-1255

SVN: branches/2.0.x@3444
  • Loading branch information...
commit 863a13f99d318958fdef843601c194aafe425c63 1 parent 22d7979
@fabiomaulo fabiomaulo authored
View
38 src/NHibernate/Cfg/MappingSchema/Hbm.generated.cs
@@ -713,6 +713,14 @@ public partial class HbmKeyManyToOne {
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool lazySpecified;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute("not-found")]
+ public HbmNotFoundMode notfound;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool notfoundSpecified;
}
/// <remarks/>
@@ -783,6 +791,21 @@ public enum HbmRestrictedLaziness {
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("HbmXsd", "2.0.0.1001")]
[System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:nhibernate-mapping-2.2")]
+ public enum HbmNotFoundMode {
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlEnumAttribute("ignore")]
+ Ignore,
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlEnumAttribute("exception")]
+ Exception,
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("HbmXsd", "2.0.0.1001")]
+ [System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:nhibernate-mapping-2.2")]
@@ -1500,21 +1523,6 @@ public enum HbmFetchMode {
[System.CodeDom.Compiler.GeneratedCodeAttribute("HbmXsd", "2.0.0.1001")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:nhibernate-mapping-2.2")]
- public enum HbmNotFoundMode {
-
- /// <remarks/>
- [System.Xml.Serialization.XmlEnumAttribute("ignore")]
- Ignore,
-
- /// <remarks/>
- [System.Xml.Serialization.XmlEnumAttribute("exception")]
- Exception,
- }
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("HbmXsd", "2.0.0.1001")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:nhibernate-mapping-2.2")]
public enum HbmLaziness {
/// <remarks/>
View
1  src/NHibernate/nhibernate-mapping.xsd
@@ -891,6 +891,7 @@
<xs:attribute name="column" type="xs:string" />
<xs:attribute name="foreign-key" type="xs:string" use="optional" />
<xs:attribute name="lazy" type="restrictedLaziness" use="optional" />
+ <xs:attribute name="not-found" type="notFoundMode" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="key-property">
Please sign in to comment.
Something went wrong with that request. Please try again.