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