1. IToOneRelation

Interface IToOneRelation

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

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
long

An id.

SetId(long?)

Sets the value of the relation.

Declaration
void SetId(long? id)
Parameters
TypeNameDescription
longid

The id.

SetIdentifierAsync(string)

Sets the value of the relation.

Declaration
Task SetIdentifierAsync(string identifier)
Parameters
TypeNameDescription
stringidentifier

The identifier.

Returns
TypeDescription
Task

A representing the asynchronous operation.

If you have suggestions for improving this article, let us know!