Class SoRelation
Information about the relation between two tables.
Namespace: SuperOffice.Data.Dictionary
Assembly: SoDataBase.dll
Syntax
public sealed class SoRelation : Object
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 |
---|---|
Boolean |
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 |
Extension Methods
EnumUtil.MapEnums<From, To>(From)