Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.978 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 195 | src/NHibernate/Type/ComponentType.cs |
2 | 3 | 298 | src/NHibernate/Type/EntityType.cs |
| ||||
public override object NullSafeGet(IDataReader rs, string[] names, ISessionImplementor session, object owner) { return ResolveIdentifier(Hydrate(rs, names, session, owner), session, owner); } |
| ||||
/// <summary> /// Converts the id contained in the <see cref="IDataReader"/> to an object. /// </summary> /// <param name="rs">The <see cref="IDataReader"/> that contains the query results.</param> /// <param name="names">A string array of column names that contain the id.</param> /// <param name="session">The <see cref="ISessionImplementor"/> this is occurring in.</param> /// <param name="owner">The object that this Entity will be a part of.</param> /// <returns> /// An instance of the object or <see langword="null" /> if the identifer was null. /// </returns> public override sealed object NullSafeGet(IDataReader rs, string[] names, ISessionImplementor session, object owner) { return ResolveIdentifier(Hydrate(rs, names, session, owner), session, owner); } |
| |||
[[#variable70e83e20]]object NullSafeGet(IDataReader rs, string[] names, ISessionImplementor session, object owner) { return ResolveIdentifier(Hydrate(rs, names, session, owner), session, owner); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70e83e20]] | public override |
1 | 2 | [[#70e83e20]] | /// <summary> /// Converts the id contained in the <see cref="IDataReader"/> to an object. /// </summary> /// <param name="rs">The <see cref="IDataReader"/> that contains the query results.</param> /// <param name="names">A string array of column names that contain the id.</param> /// <param name="session">The <see cref="ISessionImplementor"/> this is occurring in.</param> /// <param name="owner">The object that this Entity will be a part of.</param> /// <returns> /// An instance of the object or <see langword="null" /> if the identifer was null. /// </returns> public override sealed |