Query Constructors

Definition

Overloads

Query(String)

Initializes a new instance of the Query struct.

Query(String, IReadOnlyDictionary<String,String>)

Initializes a new instance of the Query struct.

Query(String)

Initializes a new instance of the Query struct.

C#
public Query(string queryText);

Parameters

queryText
String

The query text.

Applies to

.NET 10 (package-provided) i druge verzije
Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)

Query(String, IReadOnlyDictionary<String,String>)

Initializes a new instance of the Query struct.

C#
public Query(string queryText, System.Collections.Generic.IReadOnlyDictionary<string,string> parameters);

Parameters

queryText
String

The query text.

parameters
IReadOnlyDictionary<String,String>

The query parameters.

Applies to

.NET 10 (package-provided) i druge verzije
Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)