C# Class PRI.ProductivityExtensions.SqlDataRecordExtensions.SqlDataRecordable

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

Public Methods

Method Description
GetBytes ( this sqldatarecord, Int32 ordinal, System.Int64 fieldOffset, Byte buffer ) : System.Int64

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

GetChars ( this sqldatarecord, Int32 ordinal, System.Int64 fieldOffset, Char buffer ) : System.Int64

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

SetBytes ( this sqldatarecord, Int32 ordinal, System.Int64 fieldOffset, Byte buffer ) : void

Extends SetBytes so that buffer offset of 0 and call to Array.Length are not needed. sqldatarecord.SetBytes(ordinal, fieldOffset, buffer);

SetChars ( this sqldatarecord, Int32 ordinal, System.Int64 fieldOffset, Char buffer ) : void

Extends SetChars so that buffer offset of 0 and call to Array.Length are not needed. sqldatarecord.SetChars(ordinal, fieldOffset, buffer);

Method Details

GetBytes() public static method

Extends GetBytes so that buffer offset of 0 and call to Array.Length are not needed. sqldatarecord.GetBytes(ordinal, fieldOffset, buffer);
public static GetBytes ( this sqldatarecord, Int32 ordinal, System.Int64 fieldOffset, Byte buffer ) : System.Int64
sqldatarecord this
ordinal System.Int32
fieldOffset 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. sqldatarecord.GetChars(ordinal, fieldOffset, buffer);
public static GetChars ( this sqldatarecord, Int32 ordinal, System.Int64 fieldOffset, Char buffer ) : System.Int64
sqldatarecord this
ordinal System.Int32
fieldOffset System.Int64
buffer Char
return System.Int64

SetBytes() public static method

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

SetChars() public static method

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