Search Results for

    Show / Hide Table of Contents

    Class LocalIdentifier

    Represents an entity database identifier.

    Inheritance
    object
    LocalIdentifier
    GlobalIdentifier
    Implements
    IEquatable<LocalIdentifier>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Services.Export
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    [DataContract(Name = "LocalId", Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
    public class LocalIdentifier : IEquatable<LocalIdentifier>

    Constructors

    LocalIdentifier()

    Initializes an empty instance.

    Declaration
    public LocalIdentifier()

    LocalIdentifier(int, EntityType)

    Initializes new instance with provided identifier and entity type.

    Declaration
    public LocalIdentifier(int id, EntityType type)
    Parameters
    Type Name Description
    int id

    The entity database identifier.

    EntityType type

    The type of identified entity.

    Properties

    EntityType

    Gets or sets the type of identified entity.

    Declaration
    [DataMember]
    public EntityType EntityType { get; set; }
    Property Value
    Type Description
    EntityType

    Id

    Gets or sets the database identifier.

    Declaration
    [DataMember]
    public int Id { get; set; }
    Property Value
    Type Description
    int

    Methods

    Equals(LocalIdentifier)

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

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

    The object to compare with the current object.

    Returns
    Type Description
    bool

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

    Equals(LocalIdentifier, LocalIdentifier)

    Determines whether the specified objects are equal.

    Declaration
    public static bool Equals(LocalIdentifier obj1, LocalIdentifier obj2)
    Parameters
    Type Name Description
    LocalIdentifier obj1

    First object to compare.

    LocalIdentifier obj2

    Second object to compare.

    Returns
    Type Description
    bool

    True, if objects are equal. False, if objects 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
    bool

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

    Overrides
    object.Equals(object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code of the current instance.

    Overrides
    object.GetHashCode()

    ToString()

    Returns the text representation of the object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    The text representation of the object.

    Overrides
    object.ToString()

    Implements

    IEquatable<T>
    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation