Skip to main content

queryparamlist-class

Represents simple list of Korzh.EasyQuery.QueryParam objects.

public class Korzh.EasyQuery.QueryParamList
: Collection<QueryParam>

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
QueryParamList()void

Methods

NameTypeDescription
ClearGeneratedParams()voidClears the list of generated parameters.
CopyFrom(QueryParamList prms, bool clearFirst = False)voidCopies all parameters from some other parameter list
ExtractFromExpr(string expr)voidExtracts parameters from expression.
FindById(string paramId)QueryParamFinds parameter by its ID.
GenNextParamId(string paramIdBase, String& suffix)stringGenerates the next parameter identifier.
IndexById(string paramId)intReturns index of parameter by its ID.
InsertItem(int index, QueryParam item)voidInserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
ReadFromJsonAsync(JsonReader reader, CancellationToken ct = null)TaskReads the list of query parameters from JSON (asynchronous way).
ResetParamIdGenerator()voidResets the parameter identifier generator.
WriteToJsonAsync(JsonWriter writer, CancellationToken ct = null)TaskWrites the list of query parameters to JSON (asynchronous way).

Static Properties

NameTypeDescription
EmptyQueryParamList