CloneSet2253


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.976class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1339
src/NHibernate/Engine/Transaction/Isolater.cs
2350
src/NHibernate/Engine/Transaction/Isolater.cs
Clone Instance
1
Line Count
3
Source Line
39
Source File
src/NHibernate/Engine/Transaction/Isolater.cs

                /// <summary> 
                /// Ensures that all processing actually performed by the given work will
                /// occur on a seperate transaction. 
                /// </summary>
                /// <param name="work">The work to be performed. </param>
                /// <param name="session">The session from which this request is originating. </param>
                public static void DoIsolatedWork(IIsolatedWork work, ISessionImplementor session)
                {
                        session.Factory.TransactionFactory.ExecuteWorkInIsolation(session, work, true);
                }



Clone Instance
2
Line Count
3
Source Line
50
Source File
src/NHibernate/Engine/Transaction/Isolater.cs

                /// <summary> 
                /// Ensures that all processing actually performed by the given work will
                /// occur outside of a transaction. 
                /// </summary>
                /// <param name="work">The work to be performed. </param>
                /// <param name="session">The session from which this request is originating. </param>
                public static void DoNonTransactedWork(IIsolatedWork work, ISessionImplementor session)
                {
                        session.Factory.TransactionFactory.ExecuteWorkInIsolation(session, work, false);
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary> 
/// Ensures that all processing actually performed by the given work will
/// occur outside of a transaction. 
/// occur on a seperate transaction. 
/// </summary>
/// <param name="work">The work to be performed. </param>
/// <param name="session">The session from which this request is originating. </param>
public static void [[#variable6e70d700]](IIsolatedWork work, ISessionImplementor session)
{
   session.Factory.TransactionFactory.ExecuteWorkInIsolation(session, work, [[#variable6e70d6a0]]);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6e70d700]]
DoNonTransactedWork 
12[[#6e70d700]]
DoIsolatedWork 
21[[#6e70d6a0]]
false 
22[[#6e70d6a0]]
true