Skip to content

Commit 4f7bad4

Browse files
committed
Merge branch '3.4.x'
2 parents efed80d + 71b425d commit 4f7bad4

File tree

3 files changed

+22
-18
lines changed

3 files changed

+22
-18
lines changed

src/.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ end_of_line = CRLF
55

66
[*.cs]
77
indent_style = tab
8+
9+
[*.xsd]
10+
indent_style = tab

src/NHibernate/Cfg/Environment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static string Version
5454

5555
if (attrs != null && attrs.Length > 0)
5656
{
57-
cachedVersion = string.Format("{0} ({1})", thisAssembly.GetName().Version, attrs[0].InformationalVersion);
57+
cachedVersion = string.Format("{0} (assembly {1})", attrs[0].InformationalVersion, thisAssembly.GetName().Version);
5858
}
5959
else
6060
{

src/NHibernate/nhibernate-configuration.xsd

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
<xs:complexType>
1212
<xs:sequence>
1313
<xs:element ref="bytecode-provider" minOccurs="0" maxOccurs="1" >
14-
<xs:annotation>
15-
<xs:documentation>
16-
There are 3 default short-cut values
17-
- lcg : default for .NET2.0 and higher.
18-
- codedom : CodeDOM-based bytecode provider (mostly for .NET1.1).
19-
- null : Disable the reflection optimization completely.
20-
In addition you can specify the AssemblyQualifiedName of your custom bytecode-provider (implementation of IBytecodeProvider).
21-
Note: the bytecode-provider will be tooks in account only when specified in the app.config or web.config.
22-
</xs:documentation>
23-
</xs:annotation>
24-
</xs:element>
14+
<xs:annotation>
15+
<xs:documentation>
16+
There are 3 default short-cut values
17+
- lcg : default for .NET2.0 and higher.
18+
- codedom : CodeDOM-based bytecode provider (mostly for .NET1.1).
19+
- null : Disable the reflection optimization completely.
20+
In addition you can specify the AssemblyQualifiedName of your custom bytecode-provider (implementation of IBytecodeProvider).
21+
Note: the bytecode-provider will be tooks in account only when specified in the app.config or web.config.
22+
</xs:documentation>
23+
</xs:annotation>
24+
</xs:element>
2525
<xs:element ref="reflection-optimizer" maxOccurs="1" minOccurs="0" />
2626
<xs:element ref="session-factory" minOccurs="0" maxOccurs="1" />
2727
</xs:sequence>
@@ -53,10 +53,10 @@
5353
<xs:element name="mapping">
5454
<xs:annotation>
5555
<xs:documentation>
56-
There are 3 possible combinations of mapping attributes
57-
1 - resource &amp; assembly: NHibernate will read the mapping resource from the specified assembly
58-
2 - file only: NHibernate will read the mapping from the file.
59-
3 - assembly only: NHibernate will find all the resources ending in hbm.xml from the assembly.
56+
There are 3 possible combinations of mapping attributes
57+
1 - resource &amp; assembly: NHibernate will read the mapping resource from the specified assembly
58+
2 - file only: NHibernate will read the mapping from the file.
59+
3 - assembly only: NHibernate will find all the resources ending in hbm.xml from the assembly.
6060
</xs:documentation>
6161
</xs:annotation>
6262
<xs:complexType>
@@ -114,8 +114,9 @@
114114
<xs:enumeration value="format_sql" />
115115
<xs:enumeration value="collectiontype.factory_class" />
116116
<xs:enumeration value="interceptors.beforetransactioncompletion_ignore_exceptions" />
117-
<xs:enumeration value="order_inserts" />
118-
</xs:restriction>
117+
<xs:enumeration value="order_inserts" />
118+
<xs:enumeration value="linqtohql.generatorsregistry" />
119+
</xs:restriction>
119120
</xs:simpleType>
120121
</xs:attribute>
121122
</xs:extension>

0 commit comments

Comments
 (0)