Class QueryParameter

A parameter used in a query

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

Constructors

QueryParameter(String, String, Object)

Declaration
    public QueryParameter(string name, string type, object value)
Parameters
TypeNameDescription
System.Stringname
System.Stringtype
System.Objectvalue

Properties

DBSize

Declaration
    public int DBSize { get; }
Property Value
TypeDescription
System.Int32

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
System.String

Type

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

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

Value

The value of the parameter

Declaration
    public object Value { get; set; }
Property Value
TypeDescription
System.Object