Show / Hide Table of Contents

Class SoRelation

Information about the relation between two tables.

Inheritance
object
SoRelation
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: SuperOffice.Data.Dictionary
Assembly: SoDataBase.dll
Syntax
public sealed class SoRelation

Properties

ForeignKey

Field the relation is pointing from.

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

HasDetails

Is the relation complex and have information exceeding what is expressed with the from and to fields.

Declaration
public bool HasDetails { get; }
Property Value
Type Description
bool

PrimaryKey

Field the relation is pointing to.

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

Methods

GetDetails()

Obtain additional details about the relation.

Declaration
public IEnumerable<SoRelationDetail> GetDetails()
Returns
Type Description
IEnumerable<SoRelationDetail>

Enumerator for looping over additional details about the relation.

ToString()

Information about the relation between two tables.

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

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