Table of Contents

Class QueryParameter

Namespace
TimeCockpit.Data.QueryLanguage
Assembly
TimeCockpit.Data.dll

Represents a parameter for a query

public sealed class QueryParameter
Inheritance
Object
QueryParameter
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

QueryParameter(String)

Initializes a new instance of the QueryParameter class

public QueryParameter(string name)

Parameters

name String

Name of the parameter

QueryParameter(String, Object)

Initializes a new instance of the QueryParameter class.

public QueryParameter(string name, object value)

Parameters

name String

Name of the parameter

value Object

Value of the parameter

Properties

Name

Gets or sets the name of the parameter

public string Name { get; set; }

Property Value

String

Remarks

Name has to be a valid identifier (IsValidIdentifier(String)).

Value

Gets or sets the parameter's value

public object Value { get; set; }

Property Value

Object