Skip to content

ParamCriteria class

namespace: Serenity.Data   assembly: Serenity.Net.Services

A criteria object containing a parameter name

public class ParamCriteria : BaseCriteria
parameter description
name The parameter name. Should start with @.

Public Members

name description
ParamCriteria(…) A criteria object containing a parameter name
Name { get; } Gets the parameter name including the @ symbol.
override ToString(…) Converts the criteria to string.

Exceptions

exception condition
ArgumentNullException name is null or empty
ArgumentOutOfRangeException name doesn't start with "@", or has nothing but whitespace after it.

Remarks

Initializes a new instance of the ParamCriteria class.

See Also