IExtendedDataRecord.GetDataRecord 方法
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
使用指定的索引获取一个 DbDataRecord 对象。
命名空间: System.Data.Entity.Core
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "i")> _
Function GetDataRecord ( _
i As Integer _
) As DbDataRecord
用法
Dim instance As IExtendedDataRecord
Dim i As Integer
Dim returnValue As DbDataRecord
returnValue = instance.GetDataRecord(i)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "i")]
DbDataRecord GetDataRecord(
int i
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"i")]
DbDataRecord^ GetDataRecord(
int i
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "i")>]
abstract GetDataRecord :
i:int -> DbDataRecord
function GetDataRecord(
i : int
) : DbDataRecord
参数
- i
类型:System.Int32
行的索引。
返回值
类型:System.Data.Common.DbDataRecord
DbDataRecord 对象。