UpdateEntryExtensions.BuildOriginalValuesString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a formatted string representation of the given properties and their original values such as is useful when throwing exceptions about keys, indexes, etc. that use the properties.
public static string BuildOriginalValuesString (this Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> properties);
static member BuildOriginalValuesString : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * seq<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> -> string
<Extension()>
Public Function BuildOriginalValuesString (entry As IUpdateEntry, properties As IEnumerable(Of IPropertyBase)) As String
Parameters
- entry
- IUpdateEntry
The entry from which values will be obtained.
- properties
- IEnumerable<IPropertyBase>
The properties to format.
Returns
The string representation.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: