1. Stylelabs.M.Sdk.Contracts.Base

Interface IToOneRelation

Base interface for relation that are associated with only one entity.

Inherited Members

IRelation.Role

IRelation.Properties

IRelation.GetIds()

IRelation.SetIds(IEnumerable)

IRelation.SetIdentifiersAsync(IEnumerable)

IRelation.Clear()

IMember.Name

IMember.DefinitionType

IDirtyTracking.IsTracking

IDirtyTracking.IsDirty

IDirtyTracking.StartTracking()

IDirtyTracking.MarkClean()

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsBase

Assembly: Stylelabs.M.Sdk.dll

Syntax

public interface IToOneRelation : IRelation, IMember, IDirtyTracking

Methods

GetId()

Gets the value of the relation.

Declaration

long? GetId()

Returns

TypeDescription
longAn id.

SetId(long?)

Sets the value of the relation.

Declaration

void SetId(long? id)

Parameters

TypeNameDescription
longidThe id.

SetIdentifierAsync(string)

Sets the value of the relation.

Declaration

Task SetIdentifierAsync(string identifier)

Parameters

TypeNameDescription
stringidentifierThe identifier.

Returns

TypeDescription
TaskA representing the asynchronous operation.
If you have suggestions for improving this article, let us know!