Class QueryParameter
- Namespace
- TimeCockpit.Data.QueryLanguage
- Assembly
- TimeCockpit.Data.dll
Represents a parameter for a query
public sealed class QueryParameter
- Inheritance
-
ObjectQueryParameter
- 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
nameStringName of the parameter
QueryParameter(String, Object)
Initializes a new instance of the QueryParameter class.
public QueryParameter(string name, object value)
Parameters
nameStringName of the parameter
valueObjectValue 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