Show / Hide Table of Contents

Class SoRelationDetail

Additional details about a relation containing a field and the value this field is required to have.

Inheritance
object
SoRelationDetail
Implements
IComparable<SoRelationDetail>
IEquatable<SoRelationDetail>
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: SuperOffice.Data.Dictionary
Assembly: SoDataBase.dll
Syntax
public sealed class SoRelationDetail : IComparable<SoRelationDetail>, IEquatable<SoRelationDetail>

Properties

Field

Field that is require to have a certain value.

Declaration
public SoField Field { get; }
Property Value
Type Description
SoField

Value

Value a field is required to have.

Declaration
public int Value { get; }
Property Value
Type Description
int

Methods

CompareTo(SoRelationDetail)

Compare used for sort.

Declaration
public int CompareTo(SoRelationDetail other)
Parameters
Type Name Description
SoRelationDetail other

Object to compare to.

Returns
Type Description
int

0 if the objects are the same.

Equals(SoRelationDetail)

Check if this is the same as the other.

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

Object to compare to.

Returns
Type Description
bool

True if it is the same object.

Equals(object)

Additional details about a relation containing a field and the value this field is required to have.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

GetHashCode()

Additional details about a relation containing a field and the value this field is required to have.

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

ToString()

Additional details about a relation containing a field and the value this field is required to have.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(SoRelationDetail, SoRelationDetail)

Compare if two instances of SoRelationDetail are equal.

Declaration
public static bool operator ==(SoRelationDetail v1, SoRelationDetail v2)
Parameters
Type Name Description
SoRelationDetail v1

First instance to compare.

SoRelationDetail v2

Second instance to compare.

Returns
Type Description
bool

True if the instances are identical.

operator !=(SoRelationDetail, SoRelationDetail)

Compare if two instances of SoRelationDetail are different.

Declaration
public static bool operator !=(SoRelationDetail v1, SoRelationDetail v2)
Parameters
Type Name Description
SoRelationDetail v1

First instance to compare.

SoRelationDetail v2

Second instance to compare.

Returns
Type Description
bool

True if the instances are different.

Implements

IComparable<T>
IEquatable<T>

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top