Exemplo n.º 1
0
        public static QueryParameterStyle ParameterStyle(this ITransactionContext transaction)
        {
            var styleString = transaction.GetStringVariable(TransactionSettingKeys.ParameterStyle);

            if (String.IsNullOrEmpty(styleString))
            {
                return(QueryParameterStyle.Default);
            }

            return((QueryParameterStyle)Enum.Parse(typeof(QueryParameterStyle), styleString, true));
        }
Exemplo n.º 2
0
 public static string CurrentSchema(this ITransactionContext transaction)
 {
     return(transaction.GetStringVariable(TransactionSettingKeys.CurrentSchema));
 }