Skip to content

QueryParamList class

Represents simple list of Korzh.EasyQuery.QueryParam objects.

public class Korzh.EasyQuery.QueryParamList
: Collection<QueryParam>, IList<QueryParam>, ICollection<QueryParam>, IEnumerable<QueryParam>, IEnumerable, IList, ICollection, IReadOnlyList<QueryParam>, IReadOnlyCollection<QueryParam>
TypeNameDescription
voidClearGeneratedParams()Clears the list of generated parameters.
voidCopyFrom(QueryParamList prms, Boolean clearFirst = False)Copies all parameters from some other parameter list
voidExtractFromExpr(String expr)Extracts parameters from expression.
QueryParamFindById(String paramId)Finds parameter by its ID.
StringGenNextParamId(String paramIdBase, String& suffix)Generates the next parameter identifier.
Int32IndexById(String paramId)Returns index of parameter by its ID.
voidInsertItem(Int32 index, QueryParam item)Inserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
voidLoadFromXmlReader(XmlReader reader)Loads paramter list from XML reader.
voidReadFromJson(JsonReader reader)Reads the list of query parameters from JSON.
TaskReadFromJsonAsync(JsonReader reader)Reads the list of query parameters from JSON (asynchronous way).
voidResetParamIdGenerator()Resets the parameter identifier generator.
voidSaveToXmlWriter(XmlWriter writer)Saves to XML writer.
voidWriteToJson(JsonWriter writer)Writes the list of query parameters to JSON.
TaskWriteToJsonAsync(JsonWriter writer)Writes the list of query parameters to JSON (asynchronous way).