From 9f41bae1557917dd89f69a3d1510d9a2c88fe23a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delaporte?= <12201973+fredericDelaporte@users.noreply.github.com> Date: Tue, 15 Oct 2019 09:40:00 +0200 Subject: [PATCH] Add sqlite.binaryguid to configuration schema (#2245) (cherry picked from commit 23df8cdd24ac73bf07d03d1c36e450e8a717b445) --- src/NHibernate/nhibernate-configuration.xsd | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/NHibernate/nhibernate-configuration.xsd b/src/NHibernate/nhibernate-configuration.xsd index 7c0a870156f..3c532f48519 100644 --- a/src/NHibernate/nhibernate-configuration.xsd +++ b/src/NHibernate/nhibernate-configuration.xsd @@ -200,6 +200,18 @@ + + + + SQLite can store GUIDs in binary or text form, controlled by the BinaryGuid + connection string parameter (default is 'true'). The BinaryGuid setting will affect + how to cast GUID to string in SQL. NHibernate will attempt to detect this + setting automatically from the connection string, but if the connection + or connection string is being handled by the application instead of by NHibernate, + you can use the 'sqlite.binaryguid' NHibernate setting to override the behavior. + + +