diff --git a/CodeOnlyStoredProcedure/StoredProcedure.cs b/CodeOnlyStoredProcedure/StoredProcedure.cs index c967836..2d3cf12 100644 --- a/CodeOnlyStoredProcedure/StoredProcedure.cs +++ b/CodeOnlyStoredProcedure/StoredProcedure.cs @@ -354,6 +354,21 @@ public static void AddGlobalTransformer(IDataTransformer transformer) /// Make sure your connection supports multiple active result sets, or concurrent calls will throw /// an exception. public static void DisableConnectionCloningForEachCall() => GlobalSettings.Instance.CloneConnectionForEachCall = false; + + /// + /// Allows you to change the default behavior of the object quoting syntax. If not set, the default style is + /// . + /// + /// THe to use to define the object quote style. + public static void SetObjectQuoteStyle(ObjectQuoteStyle style) => GlobalSettings.Instance.SetObjectQuoteStyle(style); + + /// + /// Allows you to change the default behavior of the object quoting syntax. If not set, the open quote is "[", + /// and the close quote is "]". + /// + /// The string to use to start an object quote. + /// The string to use to close an object quote. + public static void SetObjectQuoteStyle(string openQuote, string closeQuote) => GlobalSettings.Instance.SetObjectQuoteStyle(openQuote, closeQuote); #endregion ///