CloneSet1049


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18210.994class_member_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11817
src/NHibernate/Event/AbstractPostDatabaseOperationEvent.cs
21818
src/NHibernate/Event/AbstractPreDatabaseOperationEvent.cs
Clone Instance
1
Line Count
18
Source Line
17
Source File
src/NHibernate/Event/AbstractPostDatabaseOperationEvent.cs

                /// <summary> Constructs an event containing the pertinent information. </summary>
                /// <param name="source">The session from which the event originated. </param>
                /// <param name="entity">The entity to be invloved in the database operation. </param>
                /// <param name="id">The entity id to be invloved in the database operation. </param>
                /// <param name="persister">The entity's persister. </param>
                protected AbstractPostDatabaseOperationEvent(IEventSource source, object entity, object id, IEntityPersister persister)
                        : base(source)
                {
                        Entity = entity;
                        Id = id;
                        Persister = persister;
                }

                /// <summary> The entity involved in the database operation. </summary>
                public object Entity
                {                      get ; private set ;
                }

                /// <summary> The id to be used in the database operation. </summary>
                public object Id
                {                  get ; private set ;
                }

                /// <summary> 
                /// The persister for the <see cref="Entity"/>. 
                /// </summary>
                public IEntityPersister Persister
                {                                   get ; private set ;
                }



Clone Instance
2
Line Count
18
Source Line
18
Source File
src/NHibernate/Event/AbstractPreDatabaseOperationEvent.cs

                /// <summary> Constructs an event containing the pertinent information. </summary>
                /// <param name="source">The session from which the event originated. </param>
                /// <param name="entity">The entity to be invloved in the database operation. </param>
                /// <param name="id">The entity id to be invloved in the database operation. </param>
                /// <param name="persister">The entity's persister. </param>
                protected AbstractPreDatabaseOperationEvent(IEventSource source, object entity, object id, IEntityPersister persister)
                        : base(source)
                {
                        Entity = entity;
                        Id = id;
                        Persister = persister;
                }

                /// <summary> The entity involved in the database operation. </summary>
                public object Entity
                {                      get ; private set ;
                }

                /// <summary> The id to be used in the database operation. </summary>
                public object Id
                {                  get ; private set ;
                }

                /// <summary> 
                /// The persister for the <see cref="Entity"/>. 
                /// </summary>
                public IEntityPersister Persister
                {                                   get ; private set ;
                }



Clone AbstractionParameter Count: 1Parameter Bindings

/// <summary> Constructs an event containing the pertinent information. </summary>
/// <param name="source">The session from which the event originated. </param>
/// <param name="entity">The entity to be invloved in the database operation. </param>
/// <param name="id">The entity id to be invloved in the database operation. </param>
/// <param name="persister">The entity's persister. </param>
protected [[#variable258febc0]](IEventSource source, object entity, object id, IEntityPersister persister): base(source)
{
   Entity = entity;
   Id = id;
   Persister = persister;
}

/// <summary> The entity involved in the database operation. </summary>
public object Entity
{
   get ;
   private set ;
}

/// <summary> The id to be used in the database operation. </summary>
public object Id
{
   get ;
   private set ;
}

/// <summary> 
/// The persister for the <see cref="Entity"/>. 
/// </summary>
public IEntityPersister Persister
{
   get ;
   private set ;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#258febc0]]
AbstractPreDatabaseOperationEvent 
12[[#258febc0]]
AbstractPostDatabaseOperationEvent