Interface IParameterDescription
Dynamic stored procedure parameter description
Namespace: XData.Mapping.Dynamic
Assembly: XData.docfx.dll
Syntax
public interface IParameterDescription
Properties
| Improve this Doc View SourceAlias
Procedure source alias
Declaration
string Alias { get; }
Property Value
Type | Description |
---|---|
String |
Binding
Parameter value binding
Declaration
string Binding { get; }
Property Value
Type | Description |
---|---|
String |
DbType
Parameter database type
Declaration
DbType DbType { get; }
Property Value
Type | Description |
---|---|
DbType |
DefaultValue
Default parameter value
Declaration
object DefaultValue { get; }
Property Value
Type | Description |
---|---|
Object |
DefaultValueType
Default parameter value type
Declaration
DefaultType DefaultValueType { get; }
Property Value
Type | Description |
---|---|
DefaultType |
Direction
Parameter direction
Declaration
ParameterDirection Direction { get; }
Property Value
Type | Description |
---|---|
ParameterDirection |
Name
Parameter name
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
String |
NativeSqlType
Native SQL type name
Declaration
string NativeSqlType { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Used to specify native SQL column type when conflicted with default type mapping
WARNING! May be not supported by database adapter!
Order
Parameter order
Declaration
int Order { get; }
Property Value
Type | Description |
---|---|
Int32 |
Scale
Parameter scale
Declaration
int Scale { get; }
Property Value
Type | Description |
---|---|
Int32 |
Size
Parameter size
Declaration
int Size { get; }
Property Value
Type | Description |
---|---|
Int32 |
Type
Parameter mapped type
Declaration
Type Type { get; }
Property Value
Type | Description |
---|---|
Type |
TypeIsArray
Parameter mapped type is array
Declaration
bool TypeIsArray { get; }
Property Value
Type | Description |
---|---|
Boolean |
UdtSqlType
Parameter SQL user defined type (UDT) description
Declaration
UdtSqlType UdtSqlType { get; }
Property Value
Type | Description |
---|---|
UdtSqlType |
Value
Parameter value
Declaration
object Value { get; }
Property Value
Type | Description |
---|---|
Object |
Methods
| Improve this Doc View SourceClone()
Clone parameter description
Declaration
IParameterDescription Clone()
Returns
Type | Description |
---|---|
IParameterDescription | Cloned parameter |
GetValue<T>()
Returns parameter value
Declaration
T GetValue<T>()
Returns
Type | Description |
---|---|
T | Parameter value |
Type Parameters
Name | Description |
---|---|
T | Parameter mapped type |