Class SoRelationDetail
Additional details about a relation containing a field and the value this field is required to have.
Namespace: SuperOffice.Data.Dictionary
Assembly: SoDataBase.dll
Syntax
public sealed class SoRelationDetail : Object, 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 |
---|---|
Int32 |
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 |
---|---|
Int32 | 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 |
---|---|
Boolean | 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 |
---|---|
Boolean |
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 |
---|---|
Int32 |
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 |
Operators
Equality(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 |
---|---|
Boolean | True if the instances are identical. |
Inequality(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 |
---|---|
Boolean | True if the instances are different. |