Show / Hide Table of Contents

    Class Service

    Represents physical or virtual service.

    Inheritance
    Object
    DomainObjectBase
    Service
    ServiceDefinition
    Implements
    IValidator
    IExtensibleDataObject
    IEquatable<Service>
    IFolderEntity
    Inherited Members
    DomainObjectBase.IsValidElementName(String)
    DomainObjectBase.AreEqual(Nullable<DateTime>, Nullable<DateTime>)
    DomainObjectBase.Equals(DomainObjectBase)
    DomainObjectBase.Id
    DomainObjectBase.Key
    DomainObjectBase.Created
    DomainObjectBase.Updated
    DomainObjectBase.IsMajorObject
    DomainObjectBase.ErrorMessage
    DomainObjectBase.ExtensionData
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public class Service : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<Service>, IFolderEntity

    Constructors

    Service()

    Initializes a new instance of the Service object.

    Declaration
    public Service()

    Properties

    Description

    Gets or sets service description.

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

    FolderId

    Gets or sets identifier of folder this service belongs to.

    Declaration
    public int? FolderId { get; set; }
    Property Value
    Type Description
    Nullable<Int32>

    FriendlyName

    Gets or sets service name.

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

    IsVirtual

    Gets or sets the flag indicating that service is virtual. This property cannot be updated for an existing service.

    Declaration
    public bool IsVirtual { get; set; }
    Property Value
    Type Description
    Boolean

    Kind

    Gets or sets the service kind: SOAP, REST, or OData. This property cannot be updated for an existing service.

    Declaration
    public ServiceKind Kind { get; set; }
    Property Value
    Type Description
    ServiceKind

    ObjectType

    Gets object type identifier.

    Declaration
    public override EntityType ObjectType { get; }
    Property Value
    Type Description
    EntityType
    Overrides
    DomainObjectBase.ObjectType

    Methods

    Equals(Service)

    Determines whether the specified service is equal to the current service.

    Declaration
    public bool Equals(Service other)
    Parameters
    Type Name Description
    Service other

    The service to compare with the current service.

    Returns
    Type Description
    Boolean

    True, if services are equal. False, if services are not equal.

    Equals(Object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True, if objects are equal. False, if objects are not equal.

    Overrides
    DomainObjectBase.Equals(Object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Hash code of the current instance.

    Overrides
    DomainObjectBase.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A string that represents the current object.

    Overrides
    DomainObjectBase.ToString()

    Validate()

    Evaluates the state of this object.

    Declaration
    public override bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Overrides
    DomainObjectBase.Validate()

    Implements

    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    System.IEquatable<T>
    IFolderEntity
    Back to top Nevatech Sentinet 6.5 Online Documentation