Class ServiceAgreementSearchQuery
Provides parameters for a query that selects service agreements from the registry.
Implements
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 ServiceAgreementSearchQuery : SearchQuery, IValidator
Constructors
ServiceAgreementSearchQuery()
Declaration
public ServiceAgreementSearchQuery()
Properties
Keywords
Gets or sets the semicolon-separated list of keywords or name/value tags that service agreement must have. The keywords may include wildcards. Returned service agreement must match all keywords and values in the list.
Declaration
public string Keywords { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Examples
soap;Weather*;1.0;version=1.0;owner=jsmith
ServiceVersionId
Gets or sets the optional identifier of the service version that service agreement must cover.
Declaration
public int? ServiceVersionId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ServiceVersionName
Gets or sets the friendly name of the service version that service agreement must cover (my include wildcards).
Declaration
public string ServiceVersionName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Status
Gets or sets the status that service agreement must have. If not set then all statuses are accepted.
Declaration
public ServiceAgreementStatus? Status { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ServiceAgreementStatus> |
Methods
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |