Class ParameterAttribute
Indicates that the property maps to a stored procedure parameter.
Inheritance
System.Object
ParameterAttribute
Namespace: Paradigm.ORM.Data.Attributes
Assembly: Paradigm.ORM.Data.dll
Syntax
public class ParameterAttribute : Attribute
Constructors
| Improve this Doc View SourceParameterAttribute()
Initializes a new instance of the ParameterAttribute class.
Declaration
public ParameterAttribute()
ParameterAttribute(String)
Initializes a new instance of the ParameterAttribute class.
Declaration
public ParameterAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the parameter. |
ParameterAttribute(String, String, Boolean)
Initializes a new instance of the ParameterAttribute class.
Declaration
public ParameterAttribute(string name, string type, bool isInput)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the parameter. |
System.String | type | The type of the parameter. |
System.Boolean | isInput |
|
Properties
| Improve this Doc View SourceIsInput
Gets or sets a value indicating whether this instance is an input or an output.
Declaration
public bool IsInput { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Name
Gets or sets the name of the parameter.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets or sets the data type of the parameter.
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |