Class SearchQuery
Provides parameters for a query that selects entities of particular type from the registry.
Inheritance
SearchQuery
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities.Search
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public class SearchQuery : IValidator
Constructors
SearchQuery()
Declaration
public SearchQuery()
Properties
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
FolderId
Gets or sets the folder identifier where search should start.
Declaration
[DataMember(EmitDefaultValue = false)]
public int? FolderId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Id
Gets or sets the searching entity database identifier.
Declaration
[DataMember(EmitDefaultValue = false)]
public int? Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Key
Gets or sets the searching entity unique identifier.
Declaration
[DataMember(EmitDefaultValue = false)]
public Guid? Key { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |
Name
Gets or sets the searching entity friendly name that may include wildcards.
Declaration
[DataMember(EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Validate()
Evaluates the state of this object.
Declaration
public virtual bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True if state is valid; otherwise, false. |