C# Class PRI.ProductivityExtensions.DbDataReaderExtensions.DbDataReaderable

Class that contains extension methods that extend DbDataReader
Show file Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
GetBytes ( this dbdatareader, Int32 ordinal, System.Int64 dataOffset, Byte buffer ) : System.Int64

Extends GetBytes so that buffer offset of 0 and call to Array.Length are not needed. dbdatareader.GetBytes(ordinal, dataOffset, buffer);

GetChars ( this dbdatareader, Int32 ordinal, System.Int64 dataOffset, Char buffer ) : System.Int64

Extends GetChars so that buffer offset of 0 and call to Array.Length are not needed. dbdatareader.GetChars(ordinal, dataOffset, buffer);

Method Details

GetBytes() public static method

Extends GetBytes so that buffer offset of 0 and call to Array.Length are not needed. dbdatareader.GetBytes(ordinal, dataOffset, buffer);
public static GetBytes ( this dbdatareader, Int32 ordinal, System.Int64 dataOffset, Byte buffer ) : System.Int64
dbdatareader this
ordinal System.Int32
dataOffset System.Int64
buffer Byte
return System.Int64

GetChars() public static method

Extends GetChars so that buffer offset of 0 and call to Array.Length are not needed. dbdatareader.GetChars(ordinal, dataOffset, buffer);
public static GetChars ( this dbdatareader, Int32 ordinal, System.Int64 dataOffset, Char buffer ) : System.Int64
dbdatareader this
ordinal System.Int32
dataOffset System.Int64
buffer Char
return System.Int64