src/Shared/EntityFramework/Infrastructure/DbEntityEntry.cs
/// <summary>
/// Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database.
/// Note that changing the values in the returned dictionary will not update the values in the database.
/// If the entity is not found in the database then null is returned.
/// </summary>
/// <remarks>
/// Multiple active operations on the same context instance are not supported.  Use 'await' to ensure
/// that any asynchronous operations have completed before calling another method on this context.
/// </remarks>
/// <param name="cancellationToken">
/// A <see cref="CancellationToken" /> to observe while waiting for the task to complete.
/// </param>
/// <returns>
/// A task that represents the asynchronous operation.
/// The task result contains the store values.
/// </returns>
Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database.
Note that changing the values in the returned dictionary will not update the values in the database.
If the entity is not found in the database then null is returned.
Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database . Note that changing the values in the returned dictionary will not update the values in the database . If the entity is not found in the database then null is returned .
public async Task<DbPropertyValues> GetDatabaseValuesAsync(CancellationToken cancellationToken)
        {
            var storeValues =
                await _internalEntityEntry.GetDatabaseValuesAsync(cancellationToken).WithCurrentCulture();
            return storeValues == null ? null : new DbPropertyValues(storeValues);
        }
public async Task < DbPropertyValues > GetDatabaseValuesAsync ( CancellationToken cancellationToken ) { var storeValues = await _internalEntityEntry . GetDatabaseValuesAsync ( cancellationToken ) . WithCurrentCulture ( ) ; return storeValues == null ? null : new DbPropertyValues ( storeValues ) ; }
Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database.
Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database .
A task that represents the asynchronous operation.
The task result contains the store values.
A task that represents the asynchronous operation . The task result contains the store values .
cancellationToken
CancellationToken
A  to observe while waiting for the task to complete.
A to observe while waiting for the task to complete .
remarks
Multiple active operations on the same context instance are not supported.  Use 'await' to ensure
that any asynchronous operations have completed before calling another method on this context.
Multiple active operations on the same context instance are not supported . Use ' await ' to ensure that any asynchronous operations have completed before calling another method on this context .