Clover.NET coverage report - Coverage

Coverage timestamp: Friday, May 20, 2005 9:17:00 PM

File Stats: LOC: 61   Methods: 0
NCLOC: 16 Classes: 0
 
Source File Conditionals Statements Methods TOTAL
Transaction\TransactionScopeOptions.cs - - - -
coverage
1  
2   #region Apache Notice
3   /*****************************************************************************
4   * $Header: $
5   * $Revision: $
6   * $Date: $
7   *
8   * iBATIS.NET Data Mapper
9   * Copyright (C) 2004 - Gilles Bayon
10   *
11   *
12   * Licensed under the Apache License, Version 2.0 (the "License");
13   * you may not use this file except in compliance with the License.
14   * You may obtain a copy of the License at
15   *
16   * http://www.apache.org/licenses/LICENSE-2.0
17   *
18   * Unless required by applicable law or agreed to in writing, software
19   * distributed under the License is distributed on an "AS IS" BASIS,
20   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21   * See the License for the specific language governing permissions and
22   * limitations under the License.
23   *
24   ********************************************************************************/
25   #endregion
26  
27   #region Imports
28   using System;
29   #endregion
30  
31   namespace IBatisNet.Common.Transaction
32   {
33   /// <summary>
34   /// Describes how a transaction scope is associated with a transaction.
35   /// </summary>
36   public enum TransactionScopeOptions : int
37   {
38   /// <summary>
39   /// The transaction scope must be associated with a transaction.
40   /// If we are in a transaction scope join it. If we aren't, create a new one.
41   /// </summary>
42   Required = 0,
43   /// <summary>
44   /// Always creates a new transaction scope.
45   /// </summary>
46   RequiresNew = 1,
47   /// <summary>
48   /// Don't need a transaction scope, but if we are in a transaction scope then join it.
49   /// </summary>
50   Supported = 2,
51   /// <summary>
52   /// Means that cannot cannot be associated with a transaction scope.
53   /// </summary>
54   NotSupported = 3,
55   /// <summary>
56   /// The transaction scope must be associated with an existing transaction scope.
57   /// </summary>
58   Mandatory = 4
59   }
60   }
61