CloneSet2102


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23220.978class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1231200
src/NHibernate/Dialect/Dialect.cs
2211245
src/NHibernate/Dialect/Dialect.cs
Clone Instance
1
Line Count
23
Source Line
1200
Source File
src/NHibernate/Dialect/Dialect.cs

                /// <summary> 
                /// Generate the appropriate select statement to to retreive the next value
                /// of a sequence.
                /// </summary>
                /// <param name="sequenceName">the name of the sequence </param>
                /// <returns> String The "nextval" select string. </returns>
                /// <remarks>This should be a "stand alone" select statement.</remarks>
                public virtual string GetSequenceNextValString(string sequenceName)
                {
                        throw new MappingException("Dialect does not support sequences");
                }

                /// <summary> 
                /// Typically dialects which support sequences can drop a sequence
                /// with a single command.  
                /// </summary>
                /// <param name="sequenceName">The name of the sequence </param>
                /// <returns> The sequence drop commands </returns>
                /// <remarks>
                /// This is convenience form of <see cref="GetDropSequenceStrings"/>
                /// to help facilitate that.
                /// 
                /// Dialects which support sequences and can drop a sequence in a
                /// single command need *only* override this method.  Dialects
                /// which support sequences but require multiple commands to drop
                /// a sequence should instead override <see cref="GetDropSequenceStrings"/>. 
                /// </remarks>
                public virtual string GetDropSequenceString(string sequenceName)
                {
                        throw new MappingException("Dialect does not support sequences");
                }



Clone Instance
2
Line Count
21
Source Line
1245
Source File
src/NHibernate/Dialect/Dialect.cs

                /// <summary> 
                /// Generate the select expression fragment that will retrieve the next
                /// value of a sequence as part of another (typically DML) statement.
                /// </summary>
                /// <param name="sequenceName">the name of the sequence </param>
                /// <returns> The "nextval" fragment. </returns>
                /// <remarks>
                /// This differs from <see cref="GetSequenceNextValString"/> in that this
                /// should return an expression usable within another statement.
                /// </remarks>
                public virtual string GetSelectSequenceNextValString(string sequenceName)
                {
                        throw new MappingException("Dialect does not support sequences");
                }

                /// <summary> 
                /// Typically dialects which support sequences can create a sequence
                /// with a single command.
                /// </summary>
                /// <param name="sequenceName">The name of the sequence </param>
                /// <returns> The sequence creation command </returns>
                /// <remarks>
                /// This is convenience form of <see cref="GetCreateSequenceStrings(string,int,int)"/> to help facilitate that.
                /// Dialects which support sequences and can create a sequence in a
                /// single command need *only* override this method.  Dialects
                /// which support sequences but require multiple commands to create
                /// a sequence should instead override <see cref="GetCreateSequenceStrings(string,int,int)"/>.
                /// </remarks>
                public virtual string GetCreateSequenceString(string sequenceName)
                {
                        throw new MappingException("Dialect does not support sequences");
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary> 
/// Generate the appropriate select statement to to retreive the next value
/// of a sequence.
/// Generate the select expression fragment that will retrieve the next
/// value of a sequence as part of another (typically DML) statement.
/// </summary>
/// <param name="sequenceName">the name of the sequence </param>
/// <returns> String The "nextval" select string. </returns>
/// <remarks>This should be a "stand alone" select statement.</remarks>
/// <returns> The "nextval" fragment. </returns>
/// <remarks>
/// This differs from <see cref="GetSequenceNextValString"/> in that this
/// should return an expression usable within another statement.
/// </remarks>
public virtual string [[#variable55101400]](string sequenceName)
{
   throw new MappingException("Dialect does not support sequences");
}

/// <summary> 
/// Typically dialects which support sequences can drop a sequence
/// with a single command.  
/// Typically dialects which support sequences can create a sequence
/// with a single command.
/// </summary>
/// <param name="sequenceName">The name of the sequence </param>
/// <returns> The sequence drop commands </returns>
/// <returns> The sequence creation command </returns>
/// <remarks>
/// This is convenience form of <see cref="GetDropSequenceStrings"/>
/// to help facilitate that.
/// 
/// Dialects which support sequences and can drop a sequence in a
/// This is convenience form of <see cref="GetCreateSequenceStrings(string,int,int)"/> to help facilitate that.
/// Dialects which support sequences and can create a sequence in a
/// single command need *only* override this method.  Dialects
/// which support sequences but require multiple commands to drop
/// a sequence should instead override <see cref="GetDropSequenceStrings"/>. 
/// which support sequences but require multiple commands to create
/// a sequence should instead override <see cref="GetCreateSequenceStrings(string,int,int)"/>.
/// </remarks>
public virtual string [[#variable551013e0]](string sequenceName)
{
   throw new MappingException("Dialect does not support sequences");
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55101400]]
GetSequenceNextValString 
12[[#55101400]]
GetSelectSequenceNextValString 
21[[#551013e0]]
GetDropSequenceString 
22[[#551013e0]]
GetCreateSequenceString