Skip to content

QueryParamList class

Represents simple list of Korzh.EasyQuery.QueryParam objects.

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

Package: Korzh.EasyQuery (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.dll

NameTypeDescription
QueryParamList()void
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)TaskReads the list of query parameters from JSON (asynchronous way).
ResetParamIdGenerator()voidResets the parameter identifier generator.
WriteToJsonAsync(JsonWriter writer)TaskWrites the list of query parameters to JSON (asynchronous way).