[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Data.ListDataSource

ListDataSource Class

IList DataSource implementation.

Inheritance
ListDataSource
Namespace: GrapeCity.ActiveReports.Data
Assembly: MESCIUS.ActiveReports.dll
Syntax
public class ListDataSource : IListDataSource, IDataReader, IDataRecord, IDisposable

Constructors

Name Description
ListDataSource(IList)

Initializes a new instance of the ListDataSource class.

Properties

Name Description
DataReader

IDataReader to read the data.

Depth

Gets a value indicating the depth of nesting for the current row Retruns Depth == 0

FieldCount

Gets schema fields count.

IsClosed

Gets a value indicating whether the data reader is closed.

this[string]

Gets the column with the specified name.

List

Wrapped IList instance.

RecordsAffected

Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. See Documentation.

Methods

Name Description
Close()

Closes the IDataReader object.

Dispose()

Dispose

Dispose(bool)
GetBoolean(int)

Gets the value of the specified column as a Boolean.

GetByte(int)

Gets the 8-bit unsigned integer value of the specified column.

GetBytes(int, long, byte[], int, int)

Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.

GetChar(int)

Gets the character value of the specified column.

GetChars(int, long, char[], int, int)

Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset.

GetData(int)

Returns an IDataReader for the specified column ordinal.

GetDataTypeName(int)

Gets the data type information for the specified field.

GetDateTime(int)

Gets the date and time data value of the specified field.

GetDecimal(int)

Gets the fixed-position numeric value of the specified field.

GetDouble(int)

Gets the double-precision floating point number of the specified field.

GetFieldType(int)

Gets the Type information corresponding to the type of object that would be returned from GetValue(int).

GetFloat(int)

Gets the single-precision floating point number of the specified field.

GetGuid(int)

Returns the GUID value of the specified field.

GetInt16(int)

Gets the 16-bit signed integer value of the specified field.

GetInt32(int)

Gets the 32-bit signed integer value of the specified field.

GetInt64(int)

Gets the 64-bit signed integer value of the specified field.

GetName(int)

Gets the name for the field to find.

GetOrdinal(string)

Return the index of the named field.

GetSchemaTable()

Returns a DataTable that describes the column metadata of the IDataReader.

GetString(int)

Gets the string value of the specified field.

GetTargetObject(object, string)

Gets the targetObject based on teh name in the .notation of the data field

GetValue(int)

Returns the value at given index for the property.

GetValue(string, int)

Gets Value for data fields for .Notations

GetValues(object[])

Populates an array of objects with the column values of the current record.

IsDBNull(int)

Return whether the specified field is set to null.

NextResult()

Advances the data reader to the next result, when reading the results of batch SQL statements

Read()

TODO:

Extension Methods