Property | Type | Description | |
---|---|---|---|
DbType | DbType | ||
DefaultValue | object | ||
Fill | bool | ||
FixedLength | int | ||
IsIsNullable | bool | ||
SqlDbType | SqlDbType |
Property | Type | Description |
---|
Method | Description | |
---|---|---|
ColumnDefinition ( [ name, DbType dbType, int length = -1, bool fill = false, bool isNullable = true, [ defaultValue = null ) : System |
Initializes a new instance of the ColumnDefinition class.
|
|
ColumnDefinition ( [ name, SqlDbType sqlDbType, int length = -1, bool fill = false, bool isNullable = true, [ defaultValue = null ) : System |
Initializes a new instance of the ColumnDefinition class.
|
|
GetRandomValue ( double nullProbability = 0.0 ) : object |
Gets the random value.
|
|
ToString ( ) : string | ||
Validate ( object value, object &sqlValue ) : bool |
Validates the specified value, to see if it is valid for this column.
|
public ColumnDefinition ( [ name, DbType dbType, int length = -1, bool fill = false, bool isNullable = true, [ defaultValue = null ) : System | ||
name | [ | The name. |
dbType | DbType | The columns type. |
length | int | The length (if fixed length). |
fill | bool | if set to |
isNullable | bool | if set to |
defaultValue | [ | The default value (required if column is not nullable). |
return | System |
public ColumnDefinition ( [ name, SqlDbType sqlDbType, int length = -1, bool fill = false, bool isNullable = true, [ defaultValue = null ) : System | ||
name | [ | The name. |
sqlDbType | SqlDbType | The columns type. |
length | int | The length (if fixed length). |
fill | bool | if set to |
isNullable | bool | if set to |
defaultValue | [ | The default value (required if column is not nullable). |
return | System |
public GetRandomValue ( double nullProbability = 0.0 ) : object | ||
nullProbability | double | The probability of a column's value being set to SQL null (0.0 for no nulls) [Defaults to 0.0 = 0%]. |
return | object |
public Validate ( object value, object &sqlValue ) : bool | ||
value | object | The value. |
sqlValue | object | The SQL value. |
return | bool |