Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

36 lines
1.4 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="IExtendedDataRecord.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
// <owner current="true" primary="false">[....]</owner>
//------------------------------------------------------------------------------
namespace System.Data {
using System.Data.Common;
/// <summary>
/// DataRecord interface supporting structured types and rich metadata information.
/// </summary>
public interface IExtendedDataRecord : IDataRecord {
/// <summary>
/// DataRecordInfo property describing the contents of the record.
/// </summary>
DataRecordInfo DataRecordInfo { get;}
/// <summary>
/// Used to return a nested DbDataRecord.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "i")]
DbDataRecord GetDataRecord(int i);
/// <summary>
/// Used to return a nested result
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "i")]
DbDataReader GetDataReader(int i);
}
}