Click or drag to resize

DataReaderProjectionRow Class

Simple class which wraps an IDataReader and performs fast ordinal based access on the datareader with null value checking and conversion. Used by low-level SQL api to fast project a resultset to a poco type.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesDataReaderProjectionRow

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public class DataReaderProjectionRow

The DataReaderProjectionRow type exposes the following members.

Constructors
  NameDescription
Public methodDataReaderProjectionRow
Initializes a new instance of the DataReaderProjectionRow class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBoolean
Gets the value of the specified column as a Boolean.
Public methodGetByte
Gets the 8-bit unsigned integer value of the specified column.
Public methodGetByteArray
Gets the byte array of the specified field. Returns null if the value is DBNull.
Public methodGetChar
Gets the character value of the specified column.
Public methodGetDateTime
Gets the date and time data value of the specified field. If DBNull, default(DateTime) is returned.
Public methodGetDateTimeOffset
Gets the date time offset value of the specified field. Returns default(DateTimeOffset), which is MinValue.
Public methodGetDecimal
Gets the fixed-position numeric value of the specified field.
Public methodGetDouble
Gets the double-precision floating point number of the specified field.
Public methodGetEnumValueTEnum
Gets the enum value of the specified field.
Public methodGetFloat
Gets the single-precision floating point number of the specified field.
Public methodGetGuid
Returns the GUID value of the specified field. If null, Guid.Empty is returned.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt16
Gets the 16-bit signed integer value of the specified field.
Public methodGetInt32
Gets the 32-bit signed integer value of the specified field.
Public methodGetInt64
Gets the 64-bit signed integer value of the specified field.
Public methodStatic memberGetMethodInfoForValueType
Gets the MethodInfo of the method of this class to call to obtain a value of the type specified. If the type doesn't have a specific method, null is returned.
Public methodGetNullableBoolean
Gets the value of the specified column as a nullable Boolean or null if the value is DBNull
Public methodGetNullableByte
Gets the 8-bit unsigned integer value of the specified column or null if the value is DBNull
Public methodGetNullableChar
Gets the character value of the specified column or null if the value is DBNull
Public methodGetNullableDateTime
Gets the date and time data value of the specified field or null if the value is DBNull
Public methodGetNullableDateTimeOffset
Gets the date time offset value of the specified field or null if the value is DBNull
Public methodGetNullableDecimal
Gets the fixed-position numeric value of the specified field or null if the value is DBNull
Public methodGetNullableDouble
Gets the double-precision floating point number of the specified field or null if the value is DBNull
Public methodGetNullableEnumValueTEnum
Gets the enum value of the specified field or null if the value is DBNull
Public methodGetNullableFloat
Gets the single-precision floating point number of the specified field or null if the value is DBNull
Public methodGetNullableGuid
Returns the GUID value of the specified field or null if the value is DBNull
Public methodGetNullableInt16
Gets the 16-bit signed integer value of the specified field or null if the value is DBNull
Public methodGetNullableInt32
Gets the 32-bit signed integer value of the specified field or null if the value is DBNull
Public methodGetNullableInt64
Gets the 64-bit signed integer value of the specified field or null if the value is DBNull
Public methodGetNullableSByte
Gets the sbyte value of the specified field or null if the value is DBNull
Public methodGetNullableTimeSpan
Gets the timespan value of the specified field or null if the value is DBNull
Public methodGetNullableUInt16
Gets the unsigned int16 value of the specified field or null if the value is DBNull
Public methodGetNullableUInt32
Gets the unsigned int32 value of the specified field or null if the value is DBNull
Public methodGetNullableUInt64
Gets the unsigned int64 value of the specified field or null if the value is DBNull
Public methodGetSByte
Gets the sbyte value of the specified field.
Public methodGetString
Gets the string value of the specified field.
Public methodGetTimeSpan
Gets the timespan value of the specified field. Returns TimeSpan.Zero if the value is DBNull
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUInt16
Gets the unsigned int16 value of the specified field.
Public methodGetUInt32
Gets the unsigned int32 value of the specified field.
Public methodGetUInt64
Gets the unsigned int64 value of the specified field.
Public methodGetValue
Gets the value in object format of the specified column
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetRow
Sets the row which this object wraps.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also