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