SqlServerParameterDefaults Members
The SqlServerParameterDefaults type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
Equals(System.Object) | (Inherited from ValueType.) |
|
|
Finalize | (Inherited from Object.) |
|
|
GetHashCode | (Inherited from ValueType.) |
|
|
GetType | (Inherited from Object.) |
|
|
MemberwiseClone | (Inherited from Object.) |
|
|
ToString | (Inherited from ValueType.) |
Fields
| Name | Description | |
|---|---|---|
|
|
Max |
Used for the length of a varChar(max) or nVarChar(max).
|
|
|
MaxNVarChar |
The maximum size of a nVarChar parameter without switching to nVarChar(max).
|
|
|
MaxVarChar |
The maximum size of a varChar parameter without switching to varChar(max).
|
Properties
| Name | Description | |
|---|---|---|
|
|
StringLength |
Gets the default length of string parameters. This is used when the query builder cannot determine the best parameter type and the parameter's actual length is smaller than the default length.
|
|
|
StringType |
Gets the default type of string parameters. This is used when the query builder cannot determine the best parameter type.
|

