Class QueryParameter
Represents a parameter for a query
Inheritance
System.Object
QueryParameter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.QueryLanguage
Assembly: TimeCockpit.Data.dll
Syntax
public sealed class QueryParameter
Constructors
QueryParameter(String)
Initializes a new instance of the QueryParameter class
Declaration
public QueryParameter(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the parameter |
QueryParameter(String, Object)
Initializes a new instance of the QueryParameter class.
Declaration
public QueryParameter(string name, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the parameter |
System.Object | value | Value of the parameter |
Properties
Name
Gets or sets the name of the parameter
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Name has to be a valid identifier (IsValidIdentifier(String)).
Value
Gets or sets the parameter's value
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |