Show / Hide Table of Contents

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 Source

ParameterAttribute()

Initializes a new instance of the ParameterAttribute class.

Declaration
public ParameterAttribute()
| Improve this Doc View Source

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.

| Improve this Doc View Source

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

true if the parameter is an input parameter.

Properties

| Improve this Doc View Source

IsInput

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

true if this parameter is an input parameter; otherwise, false.

| Improve this Doc View Source

Name

Gets or sets the name of the parameter.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Type

Gets or sets the data type of the parameter.

Declaration
public string Type { get; set; }
Property Value
Type Description
System.String

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.