Skip to content

Commit 23df8cd

Browse files
fredericDelaportehazzik
authored andcommitted
Add sqlite.binaryguid to configuration schema (#2245)
1 parent 8a7375a commit 23df8cd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/NHibernate/nhibernate-configuration.xsd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,18 @@
218218
</xs:documentation>
219219
</xs:annotation>
220220
</xs:enumeration>
221+
<xs:enumeration value="sqlite.binaryguid">
222+
<xs:annotation>
223+
<xs:documentation>
224+
SQLite can store GUIDs in binary or text form, controlled by the BinaryGuid
225+
connection string parameter (default is 'true'). The BinaryGuid setting will affect
226+
how to cast GUID to string in SQL. NHibernate will attempt to detect this
227+
setting automatically from the connection string, but if the connection
228+
or connection string is being handled by the application instead of by NHibernate,
229+
you can use the 'sqlite.binaryguid' NHibernate setting to override the behavior.
230+
</xs:documentation>
231+
</xs:annotation>
232+
</xs:enumeration>
221233
<xs:enumeration value="sql_types.keep_datetime">
222234
<xs:annotation>
223235
<xs:documentation>

0 commit comments

Comments
 (0)