Show / Hide Table of Contents

    Class ConsumerSearchQuery

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

    Inheritance
    System.Object
    ConsumerSearchQuery
    Implements
    IValidator
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.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
    System.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
    System.Nullable<System.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
    System.Nullable<System.Guid>

    Name

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

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.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
    System.Boolean

    True if state is valid; otherwise, false.

    Implements

    IValidator
    Back to top Nevatech Sentinet 6.6 Online Documentation