DbUpdatableDataRecord 类
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
提供对对象数据的原始值的访问。 DbUpdatableDataRecord 实现可用于更新对象的原始值的方法。
继承层次结构
System.Object
System.Data.Common.DbDataRecord
System.Data.Entity.Core.Objects.DbUpdatableDataRecord
System.Data.Entity.Core.Objects.CurrentValueRecord
System.Data.Entity.Core.Objects.OriginalValueRecord
命名空间: System.Data.Entity.Core.Objects
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
<DefaultMemberAttribute("Item")> _
Public MustInherit Class DbUpdatableDataRecord _
Inherits DbDataRecord _
Implements IExtendedDataRecord, IDataRecord
用法
Dim instance As DbUpdatableDataRecord
[DefaultMemberAttribute("Item")]
public abstract class DbUpdatableDataRecord : DbDataRecord,
IExtendedDataRecord, IDataRecord
[DefaultMemberAttribute(L"Item")]
public ref class DbUpdatableDataRecord abstract : public DbDataRecord,
IExtendedDataRecord, IDataRecord
[<AbstractClassAttribute>]
[<DefaultMemberAttribute("Item")>]
type DbUpdatableDataRecord =
class
inherit DbDataRecord
interface IExtendedDataRecord
interface IDataRecord
end
public abstract class DbUpdatableDataRecord extends DbDataRecord implements IExtendedDataRecord, IDataRecord
DbUpdatableDataRecord 类型公开以下成员。
属性
名称 | 描述 | |
---|---|---|
DataRecordInfo | 获取数据记录信息。 | |
FieldCount | 获取记录中的字段数。 (重写 DbDataRecord.FieldCount。) | |
Item[Int32] | 返回具有给定字段序号的值。 (重写 DbDataRecord.Item[Int32]。) | |
Item[String] | 获取具有给定字段名称的值。 (重写 DbDataRecord.Item[String]。) |
顶部
方法
顶部
显式接口实现
顶部
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。