Interface IToOneRelation

Version: 4.0

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

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public interface IToOneRelation : IRelation, IMember, IDirtyTracking

Methods

GetId()

Gets the value of the relation.

Declaration
RequestResponse
long? GetId()
Returns
TypeDescription
long

An id.

SetId(long?)

Sets the value of the relation.

Declaration
RequestResponse
void SetId(long? id)
Parameters
TypeNameDescription
longid

The id.

SetIdentifierAsync(string)

Sets the value of the relation.

Declaration
RequestResponse
Task SetIdentifierAsync(string identifier)
Parameters
TypeNameDescription
stringidentifier

The identifier.

Returns
TypeDescription
Task

A representing the asynchronous operation.

Do you have some feedback for us?

If you have suggestions for improving this article,