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>

Methods

Type Name Description
void ClearGeneratedParams() Clears the list of generated parameters.
void CloneParamsFrom(QueryParamList prms) Copies all parameters from some parameter list
void ExtractFromExpr(String expr) Extracts parameters from expression.
QueryParam FindById(String paramId) Finds parameter by its ID.
String GenNextParamId(String paramIdBase, String& suffix) Generates the next parameter identifier.
Int32 IndexById(String paramId) Returns index of parameter by its ID.
void InsertItem(Int32 index, QueryParam item) Inserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
void LoadFromJsonDict(IEnumerable paramList) Loads parameter list from some System.Collections.IEnumerable object. Useful for JSON deserialization
void LoadFromXmlReader(XmlReader reader) Loads paramter list from XML reader.
void ResetParamIdGenerator() Resets the parameter identifier generator.
IEnumerable SaveToJsonDict(DataModel model) Saves parameter list into some System.Collections.IEnumerable object. Useful for JSON serialization
void SaveToXmlWriter(XmlWriter writer) Saves to XML writer.