Interface IToManyRelation

Version: 3.2

Base interface for relation that are associated with many entities.

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

Methods

Add(long)

Adds an id to the relations values.

Declaration
RequestResponse
void Add(long id)
Parameters
TypeNameDescription
longid

Id.

AddAsync(string)

Adds an id to the relations values.

Declaration
RequestResponse
Task AddAsync(string identifier)
Parameters
TypeNameDescription
stringidentifier

The identifier.

Returns
TypeDescription
Task

A representing the asynchronous operation.

AddRange(IEnumerable<long>)

Adds multiple ids to the relations values.

Declaration
RequestResponse
void AddRange(IEnumerable<long> ids)
Parameters
TypeNameDescription
IEnumerable<>longids

Ids.

AddRangeAsync(IEnumerable<string>)

Adds multiple ids to the relations values.

Declaration
RequestResponse
Task AddRangeAsync(IEnumerable<string> identifiers)
Parameters
TypeNameDescription
IEnumerable<>stringidentifiers

The identifiers.

Returns
TypeDescription
Task

A representing the asynchronous operation.

Do you have some feedback for us?

If you have suggestions for improving this article,