<PackageReference Include="System.Data.SqlClient" Version="4.5.3" />

SqlDataRecord

public class SqlDataRecord : IDataRecord
using System; using System.Data; using System.Data.SqlTypes; namespace Microsoft.SqlServer.Server { public class SqlDataRecord : IDataRecord { public virtual int FieldCount { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public virtual object this[int ordinal] { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public virtual object this[string name] { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public SqlDataRecord(params SqlMetaData[] metaData) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual bool GetBoolean(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual byte GetByte(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual long GetBytes(int ordinal, long fieldOffset, byte[] buffer, int bufferOffset, int length) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual char GetChar(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual long GetChars(int ordinal, long fieldOffset, char[] buffer, int bufferOffset, int length) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual string GetDataTypeName(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual DateTime GetDateTime(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual DateTimeOffset GetDateTimeOffset(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual decimal GetDecimal(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual double GetDouble(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual Type GetFieldType(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual float GetFloat(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual Guid GetGuid(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual short GetInt16(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual int GetInt32(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual long GetInt64(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual string GetName(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual int GetOrdinal(string name) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlBinary GetSqlBinary(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlBoolean GetSqlBoolean(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlByte GetSqlByte(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlBytes GetSqlBytes(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlChars GetSqlChars(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlDateTime GetSqlDateTime(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlDecimal GetSqlDecimal(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlDouble GetSqlDouble(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual Type GetSqlFieldType(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlGuid GetSqlGuid(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlInt16 GetSqlInt16(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlInt32 GetSqlInt32(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlInt64 GetSqlInt64(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlMetaData GetSqlMetaData(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlMoney GetSqlMoney(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlSingle GetSqlSingle(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlString GetSqlString(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual object GetSqlValue(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual int GetSqlValues(object[] values) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual SqlXml GetSqlXml(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual string GetString(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual TimeSpan GetTimeSpan(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual object GetValue(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual int GetValues(object[] values) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual bool IsDBNull(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetBoolean(int ordinal, bool value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetByte(int ordinal, byte value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetBytes(int ordinal, long fieldOffset, byte[] buffer, int bufferOffset, int length) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetChar(int ordinal, char value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetChars(int ordinal, long fieldOffset, char[] buffer, int bufferOffset, int length) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetDateTime(int ordinal, DateTime value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetDateTimeOffset(int ordinal, DateTimeOffset value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetDBNull(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetDecimal(int ordinal, decimal value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetDouble(int ordinal, double value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetFloat(int ordinal, float value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetGuid(int ordinal, Guid value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetInt16(int ordinal, short value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetInt32(int ordinal, int value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetInt64(int ordinal, long value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlBinary(int ordinal, SqlBinary value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlBoolean(int ordinal, SqlBoolean value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlByte(int ordinal, SqlByte value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlBytes(int ordinal, SqlBytes value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlChars(int ordinal, SqlChars value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlDateTime(int ordinal, SqlDateTime value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlDecimal(int ordinal, SqlDecimal value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlDouble(int ordinal, SqlDouble value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlGuid(int ordinal, SqlGuid value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlInt16(int ordinal, SqlInt16 value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlInt32(int ordinal, SqlInt32 value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlInt64(int ordinal, SqlInt64 value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlMoney(int ordinal, SqlMoney value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlSingle(int ordinal, SqlSingle value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlString(int ordinal, SqlString value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetSqlXml(int ordinal, SqlXml value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetString(int ordinal, string value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetTimeSpan(int ordinal, TimeSpan value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual void SetValue(int ordinal, object value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } public virtual int SetValues(params object[] values) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } IDataReader IDataRecord.GetData(int ordinal) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } }