Class SoRelationDetail
Additional details about a relation containing a field and the value this field is required to have.
Inherited Members
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
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
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
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. |