Class ApplicationSearchQuery
Provides parameters for a query that selects applications from the registry.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities.Search
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ApplicationSearchQuery : IValidator
  Constructors
ApplicationSearchQuery()
Declaration
public ApplicationSearchQuery()
  Properties
AccessKey
Gets or sets the access key associated with the application.
Declaration
public string AccessKey { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
AccessKeyExpirationFrom
Gets or sets the earliest access key expiration date and time (UTC).
Declaration
public DateTime? AccessKeyExpirationFrom { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<DateTime> | 
AccessKeyExpirationTo
Gets or sets the latest access key expiration date and time (UTC).
Declaration
public DateTime? AccessKeyExpirationTo { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<DateTime> | 
ConsumerId
Gets or sets the identifier of the consumer account that application belongs to. If identifier is provided then ConsumerName search parameter is ignored.
Declaration
public int? ConsumerId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
ConsumerName
Gets or sets the name of the consumer account that application belongs to.
Declaration
public string ConsumerName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Key
Gets or sets the application 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 | 
ProductId
Gets or sets the identifier of the product associated with this application. If identifier is provided then ProductName search parameter is ignored.
Declaration
public int? ProductId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
ProductName
Gets or sets the product name associated with this application.
Declaration
public string ProductName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
SortField
Gets or sets the field that result will be sorted by.
Declaration
public ApplicationsSortField SortField { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ApplicationsSortField | 
SortOrder
Gets or sets the result sort order.
Declaration
public SortOrder SortOrder { get; set; }
  Property Value
| Type | Description | 
|---|---|
| SortOrder | 
SubscriptionId
Gets or sets the identifier of the Subscription this application is using. If identifier is provided then SubscriptionName search parameter is ignored.
Declaration
public int? SubscriptionId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
SubscriptionName
Gets or sets the subscription name associated with this application.
Declaration
public string SubscriptionName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Methods
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
  Returns
| Type | Description | 
|---|---|
| Boolean | True if state is valid; otherwise, false.  |