语言

UpdateEntryExtensions 类

定义

的 IUpdateEntry扩展方法 。

[System.Runtime.CompilerServices.Nullable(0)]
public static class UpdateEntryExtensions
public static class UpdateEntryExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type UpdateEntryExtensions = class
type UpdateEntryExtensions = class
Public Module UpdateEntryExtensions
继承
UpdateEntryExtensions
特性

注解

有关详细信息和示例,请参阅 数据库提供程序和扩展的实现 。

方法

名称 说明
BuildCurrentValuesString(IUpdateEntry, IEnumerable<IPropertyBase>)

创建给定属性及其当前值的格式化字符串表示形式,例如,在引发有关使用属性的键、索引等异常时非常有用。

BuildOriginalValuesString(IUpdateEntry, IEnumerable<IPropertyBase>)

创建给定属性及其原始值的格式化字符串表示形式,例如,在引发有关使用属性的键、索引等异常时非常有用。

GetCurrentProviderValue(IUpdateEntry, IProperty)

获取分配给属性的值,并将其转换为提供程序预期的值。

GetOriginalProviderValue(IUpdateEntry, IProperty)

获取分配给属性的原始值,并将其转换为提供程序预期的值。

ToDebugString(IUpdateEntry, ChangeTrackerDebugStringOptions, Int32)

创建给定 IUpdateEntry的可读表示形式。

警告:不要依赖于返回的字符串的格式。 它仅用于调试,可以在版本之间任意更改。

适用于