Class KeyMapping
Represents the key mapping between two entities identified by the global keys.
Inheritance
Implements
Inherited Members
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 |
---|---|
System.Guid |
ToKey
Gets or sets the entity's new key.
Declaration
public Guid ToKey { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns the text representation of the object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The text representation of the object. |