Click or drag to resize

ProjectionRow Class

Simple class which wraps an object array and allows type converson and name-based indexing. Used in projections of DynamicQuery resultsets.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesProjectionRow

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public class ProjectionRow

The ProjectionRow type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyItemInt32
Gets the Object at the specified index. Converts DBNull.Value to null.
Public propertyItemString
Gets the Object with the specified name.
Public propertyNameToIndexMap
Gets the name to index map, which is an index to lookup the value index for a name. The value is the ordinal in the resultset for the column with the name specified as key.
Public propertyRawRow
Gets the plain row wrapped by this projectionrow
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 methodGetT(Int32)
Gets the value for the specified index and converts it to the type T. If the value can be nullable, specify Nullable<T> of T is a value type.
Public methodGetT(String)
Gets the value for the specified name and converts it to the type T. If the value can be nullable, specify Nullable<T> of T is a value type.
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
Return the value of the specified field. Converts DBNull.Value to null.
Public methodGetValues
Populates an array of objects with the column values of the current record. Copies the plain row as-is to the passed in array. It copies as much values as there are either in rawrow or how many they'll fit in values.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetRow
Sets the raw row this projectionrow works on. Overwrites the one set in the constructor
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also