Table of Contents

Class DataAccessParameter

Namespace
JJMasterData.Commons.Data
Assembly
JJMasterData.Commons.dll
public class DataAccessParameter
Inheritance
DataAccessParameter
Inherited Members

Constructors

DataAccessParameter()

public DataAccessParameter()

DataAccessParameter(string, DateTime)

public DataAccessParameter(string name, DateTime value)

Parameters

name string
value DateTime

DataAccessParameter(string, int)

public DataAccessParameter(string name, int value)

Parameters

name string
value int

DataAccessParameter(string, object, DbType)

public DataAccessParameter(string name, object value, DbType type)

Parameters

name string
value object
type DbType

DataAccessParameter(string, object, DbType, ParameterDirection)

public DataAccessParameter(string name, object value, DbType type, ParameterDirection direction)

Parameters

name string
value object
type DbType
direction ParameterDirection

DataAccessParameter(string, object, DbType, int)

public DataAccessParameter(string name, object value, DbType type, int size)

Parameters

name string
value object
type DbType
size int

DataAccessParameter(string, object, DbType, int, ParameterDirection)

public DataAccessParameter(string name, object value, DbType type, int size, ParameterDirection direction)

Parameters

name string
value object
type DbType
size int
direction ParameterDirection

DataAccessParameter(string, float)

public DataAccessParameter(string name, float value)

Parameters

name string
value float

DataAccessParameter(string, string)

public DataAccessParameter(string name, string value)

Parameters

name string
value string

Properties

Direction

[JsonProperty("direction")]
public ParameterDirection Direction { get; set; }

Property Value

ParameterDirection

IsNullable

public bool IsNullable { get; set; }

Property Value

bool

Name

Name of the parameter. Example MSSQL: @Foo ORACLE: p_foo

[JsonProperty("name")]
public string Name { get; set; }

Property Value

string

Size

Field size. For numbers is optional.

[JsonProperty("size")]
public int? Size { get; set; }

Property Value

int?

Type

Specifies the data type of field, a property, or a Parameter object of a .NET

[JsonProperty("type")]
public DbType Type { get; set; }

Property Value

DbType

Value

Value of the parameter. To send null, use DBNull.Value

[JsonProperty("value")]
public object Value { get; set; }

Property Value

object

Methods

DeepCopy()

public DataAccessParameter DeepCopy()

Returns

DataAccessParameter