Esempio n. 1
0
 public static object WrapWithTransactionContext(Transaction transaction, object value
                                                 , ITypeHandler4 handler)
 {
     if (IsValueType(handler))
     {
         return(value);
     }
     return(transaction.Wrap(value));
 }
Esempio n. 2
0
		public static object WrapWithTransactionContext(Transaction transaction, object value
			, ITypeHandler4 handler)
		{
			if (IsValueType(handler))
			{
				return value;
			}
			return transaction.Wrap(value);
		}