Show / Hide Table of Contents

    Class KeyMapping

    Represents the key mapping between two entities identified by the global keys.

    Inheritance
    Object
    KeyMapping
    Implements
    IEquatable<KeyMapping>
    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
    public sealed class KeyMapping : IEquatable<KeyMapping>

    Constructors

    KeyMapping()

    Declaration
    public KeyMapping()

    Properties

    EntityType

    Gets or sets the type of identified entity.

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

    FromKey

    Gets or sets the original entity global key.

    Declaration
    public Guid FromKey { get; set; }
    Property Value
    Type Description
    Guid

    ToKey

    Gets or sets the entity's new key.

    Declaration
    public Guid ToKey { get; set; }
    Property Value
    Type Description
    Guid

    Methods

    Equals(KeyMapping)

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

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

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

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

    Equals(KeyMapping, KeyMapping)

    Determines whether the specified objects are equal.

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

    First object to compare.

    KeyMapping obj2

    Second object to compare.

    Returns
    Type Description
    Boolean

    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
    Boolean

    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
    Int32

    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

    System.IEquatable<T>
    Back to top Nevatech Sentinet 6.5 Online Documentation