Interface IToOneRelation
Base interface for relation that are associated with only one entity.
Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public interface IToOneRelation : IRelation, IMember, IDirtyTrackingMethods
GetId()
Gets the value of the relation.
Declaration
RequestResponse
long? GetId()Returns
| Type | Description |
|---|---|
| long |
An id. |
SetId(long?)
Sets the value of the relation.
Declaration
RequestResponse
void SetId(long? id)Parameters
| Type | Name | Description |
|---|---|---|
| long | id |
The id. |
SetIdentifierAsync(string)
Sets the value of the relation.
Declaration
RequestResponse
Task SetIdentifierAsync(string identifier)Parameters
| Type | Name | Description |
|---|---|---|
| string | identifier |
The identifier. |
Returns
| Type | Description |
|---|---|
| Task |
A representing the asynchronous operation. |