Interface IToManyRelation
Version: 3.2
Base interface for relation that are associated with many entities.
Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public interface IToManyRelation : IRelation, IMember, IDirtyTrackingMethods
Add(long)
Adds an id to the relations values.
Declaration
RequestResponse
void Add(long id)Parameters
| Type | Name | Description |
|---|---|---|
| long | id |
Id. |
AddAsync(string)
Adds an id to the relations values.
Declaration
RequestResponse
Task AddAsync(string identifier)Parameters
| Type | Name | Description |
|---|---|---|
| string | identifier |
The identifier. |
Returns
| Type | Description |
|---|---|
| Task |
A representing the asynchronous operation. |
AddRange(IEnumerable<long>)
Adds multiple ids to the relations values.
Declaration
RequestResponse
void AddRange(IEnumerable<long> ids)Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<>long | ids |
Ids. |
AddRangeAsync(IEnumerable<string>)
Adds multiple ids to the relations values.
Declaration
RequestResponse
Task AddRangeAsync(IEnumerable<string> identifiers)Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<>string | identifiers |
The identifiers. |
Returns
| Type | Description |
|---|---|
| Task |
A representing the asynchronous operation. |