Свойство | Тип | Описание | |
---|---|---|---|
IDataRecord | IDataReader |
Метод | Описание | |
---|---|---|
GetBoolean ( int i ) : bool | ||
GetByte ( int i ) : byte | ||
GetBytes ( int i, long fieldOffset, [ buffer, int bufferoffset, int length ) : long | ||
GetChar ( int i ) : char | ||
GetChars ( int i, long fieldOffset, char buffer, int bufferoffset, int length ) : long | ||
GetDataTypeName ( int i ) : string | ||
GetDateTime ( int i ) : System.DateTime | ||
GetDecimal ( int i ) : decimal | ||
GetDouble ( int i ) : double | ||
GetFieldType ( int i ) : |
||
GetFloat ( int i ) : float | ||
GetGuid ( int i ) : System.Guid | ||
GetInt16 ( int i ) : short | ||
GetInt32 ( int i ) : int | ||
GetInt64 ( int i ) : long | ||
GetName ( int i ) : string | ||
GetOrdinal ( string name ) : int | ||
GetString ( int i ) : string | ||
GetValue ( int i ) : object | ||
GetValues ( object values ) : int | ||
IsDBNull ( int i ) : bool | ||
ObjectRecord ( [ recordSetDefinition ) : System |
Initializes a new instance of the ObjectRecord class. If the number of column values supplied is less than the number of columns then the remaining columns are set to their equivalent default value. |
|
ObjectRecord ( [ recordSetDefinition, bool randomData = false, double nullProbability = 0.1, object>.[ |
Initializes a new instance of the ObjectRecord class.
|
|
SetValue ( int i, object value ) : void |
Sets the value. of the column with the specified index.
|
|
this ( int i ) : object | ||
this ( string name ) : object |
Метод | Описание | |
---|---|---|
IDataRecord ( int i ) : IDataReader |
public GetBytes ( int i, long fieldOffset, [ buffer, int bufferoffset, int length ) : long | ||
i | int | |
fieldOffset | long | |
buffer | [ | |
bufferoffset | int | |
length | int | |
Результат | long |
public GetChars ( int i, long fieldOffset, char buffer, int bufferoffset, int length ) : long | ||
i | int | |
fieldOffset | long | |
buffer | char | |
bufferoffset | int | |
length | int | |
Результат | long |
public GetDateTime ( int i ) : System.DateTime | ||
i | int | |
Результат | System.DateTime |
public ObjectRecord ( [ recordSetDefinition ) : System | ||
recordSetDefinition | [ | The table definition. |
Результат | System |
public ObjectRecord ( [ recordSetDefinition, bool randomData = false, double nullProbability = 0.1, object>.[ |
||
recordSetDefinition | [ | The table definition. |
randomData | bool | if set to |
nullProbability | double | The probability of a column's value being set to SQL null (0.0 for no nulls) -
/// this is only applicable is |
columnGenerators | object>.[ | The column generators is an array of functions that generate a value for each column, if the function is
/// |
rowNumber | int | The optional row number to pass to the generator. |
Результат | System |
public SetValue ( int i, object value ) : void | ||
i | int | The index. |
value | object | The value. |
Результат | void |