Skip to content

Commit

Permalink
Some help for resolution of problem dotnet#12169
Browse files Browse the repository at this point in the history
New property RelationalDataReader::DbCommand allow to read OUTPUT-parameters of modification commands (INSERT, UPDATE).

It used from ConsumeResultSetWithPropagation method.
  • Loading branch information
dmitry-lipetsk committed Jun 15, 2018
1 parent 444a089 commit b9f8991
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/EFCore.Relational/Storage/RelationalDataReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ protected RelationalDataReader(
/// </summary>
public virtual DbDataReader DbDataReader => _reader;

/// <summary>
/// Gets the underlying command for the result set.
/// </summary>
public virtual DbCommand DbCommand => _command;

/// <summary>
/// Calls Read on the underlying DbDataReader.
/// </summary>
Expand Down

0 comments on commit b9f8991

Please sign in to comment.