Interface IParametrizedQuery
Provides methods and properties of the parameterized query.
Namespace: Terrasoft.Core.DB
Assembly: Terrasoft.Core.dll
Syntax
public interface IParametrizedQuery : ISqlGenerating
Properties
BuildParametersAsValue
Determines whether the query parameters are to be added as values into the query text.
Declaration
bool BuildParametersAsValue { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasParameters
Determines whether the query has parameters.
Declaration
bool HasParameters { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Parameters
Collection of the query parameters.
Declaration
QueryParameterCollection Parameters { get; }
Property Value
Type | Description |
---|---|
QueryParameterCollection |
Methods
GetUsingParameters()
Gets the collection of the query parameters.
Declaration
QueryParameterCollection GetUsingParameters()
Returns
Type | Description |
---|---|
QueryParameterCollection | Collection of the query parameters. |
InitializeParameters()
Initializes the collection of the query parameters.
Declaration
void InitializeParameters()
ResetParameters()
Clears the collection of the query parameters.
Declaration
void ResetParameters()