Class QueryParameter

A parameter used in a query

Inheritance
object
QueryParameter
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ETLBox.ControlFlow
Assembly: ETLBox.dll
Syntax
    public class QueryParameter

Constructors

QueryParameter()

Declaration
    public QueryParameter()

QueryParameter(object)

Declaration
    public QueryParameter(object value)
Parameters
TypeNameDescription
objectvalue

QueryParameter(string, object)

Declaration
    public QueryParameter(string name, object value)
Parameters
TypeNameDescription
stringname
objectvalue

QueryParameter(string, string, object)

Declaration
    public QueryParameter(string name, string type, object value)
Parameters
TypeNameDescription
stringname
stringtype
objectvalue

Properties

DBSize

Declaration
    public int DBSize { get; }
Property Value
TypeDescription
int

DBType

The database type parsed from the parameter type

Declaration
    public DbType? DBType { get; }
Property Value
TypeDescription
System.Data.DbType?

Name

Name of the parameter

Declaration
    public string Name { get; set; }
Property Value
TypeDescription
string

Type

The sql parameter type (e.g. "INT")

Declaration
    public string Type { get; set; }
Property Value
TypeDescription
string

Value

The value of the parameter

Declaration
    public object Value { get; set; }
Property Value
TypeDescription
object