IExtendedDataRecord.GetDataRecord 方法
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 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 物件。