Show / Hide Table of Contents

    Class ConsumerSearchQuery

    Provides parameters for a query that selects products from the registry.

    Inheritance
    Object
    ConsumerSearchQuery
    Implements
    IValidator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities.Search
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class ConsumerSearchQuery : IValidator

    Constructors

    ConsumerSearchQuery()

    Declaration
    public ConsumerSearchQuery()

    Properties

    ErrorMessage

    Gets the message indicating the errors found during validation process.

    Declaration
    public string ErrorMessage { get; }
    Property Value
    Type Description
    String

    IsEnabled

    Gets or sets the flag indicating that consumer account is enabled and can be used.

    Declaration
    public bool? IsEnabled { get; set; }
    Property Value
    Type Description
    Nullable<Boolean>

    Key

    Gets or sets the consumer unique identifier. If key is provided then all other search parameters are ignored.

    Declaration
    public Guid? Key { get; set; }
    Property Value
    Type Description
    Nullable<Guid>

    Name

    Gets or sets the searching entity friendly name that may include wildcards.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String

    SortField

    Gets or sets the field that result will be sorted by.

    Declaration
    public ConsumersSortField SortField { get; set; }
    Property Value
    Type Description
    ConsumersSortField

    SortOrder

    Gets or sets the result sort order.

    Declaration
    public SortOrder SortOrder { get; set; }
    Property Value
    Type Description
    SortOrder

    Methods

    Validate()

    Evaluates the state of this object.

    Declaration
    public bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Implements

    IValidator
    Back to top Nevatech Sentinet 6.5 Online Documentation