File tree Expand file tree Collapse file tree 3 files changed +9
-16
lines changed Expand file tree Collapse file tree 3 files changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -990,14 +990,14 @@ public virtual SqlString AppendIdentitySelectToInsert(SqlString insertString)
990
990
return insertString ;
991
991
}
992
992
993
- /// <summary>
993
+ /// <summary>
994
994
/// Get the select command to use to retrieve the last generated IDENTITY
995
- /// value for a particular table
995
+ /// value for a particular table.
996
996
/// </summary>
997
- /// <param name="tableName ">The table into which the insert was done </param>
998
- /// <param name="identityColumn ">The PK column. </param>
999
- /// <param name="type">The <see cref="DbType"/> type code. </param>
1000
- /// <returns> The appropriate select command </returns>
997
+ /// <param name="identityColumn ">The PK column. </param>
998
+ /// <param name="tableName ">The table into which the insert was done. </param>
999
+ /// <param name="type">The <see cref="DbType"/> type code.</param>
1000
+ /// <returns>The appropriate select command. </returns>
1001
1001
public virtual string GetIdentitySelectString ( string identityColumn , string tableName , DbType type )
1002
1002
{
1003
1003
return IdentitySelectString ;
Original file line number Diff line number Diff line change @@ -275,14 +275,7 @@ public override bool HasDataTypeInIdentityColumn
275
275
get { return false ; }
276
276
}
277
277
278
- /// <summary>
279
- /// Get the select command to use to retrieve the last generated IDENTITY
280
- /// value for a particular table
281
- /// </summary>
282
- /// <param name="tableName">The table into which the insert was done </param>
283
- /// <param name="identityColumn">The PK column. </param>
284
- /// <param name="type">The <see cref="DbType"/> type code. </param>
285
- /// <returns> The appropriate select command </returns>
278
+ /// <inheritdoc />
286
279
public override string GetIdentitySelectString ( string identityColumn , string tableName , DbType type )
287
280
{
288
281
return type == DbType . Int64
Original file line number Diff line number Diff line change @@ -755,8 +755,8 @@ public string IdentitySelectString
755
755
{
756
756
if ( identitySelectString == null )
757
757
identitySelectString =
758
- Factory . Dialect . GetIdentitySelectString ( GetTableName ( 0 ) , GetKeyColumns ( 0 ) [ 0 ] ,
759
- IdentifierType . SqlTypes ( Factory ) [ 0 ] . DbType ) ;
758
+ Factory . Dialect . GetIdentitySelectString ( GetKeyColumns ( 0 ) [ 0 ] , GetTableName ( 0 ) ,
759
+ IdentifierType . SqlTypes ( Factory ) [ 0 ] . DbType ) ;
760
760
return identitySelectString ;
761
761
}
762
762
}
You can’t perform that action at this time.
0 commit comments