1. Stylelabs.M.Sdk.Models.Typed.Fields

Class ReadOnlyToManyRelation

Defines a readonly-relation that is associated with many entities.

Inheritance

object

ToManyRelation

ReadOnlyToManyRelation

Inherited Members

ToManyRelation.Client

ToManyRelation.Relation

ToManyRelation.GetEntitiesAsync(EntityLoadConfiguration)

ToManyRelation.GetEntitiesAsync(EntityLoadConfiguration)

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsTypedFields

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class ReadOnlyToManyRelation<TRelation> : ToManyRelation<TRelation> where TRelation : class, IToManyRelation

Type Parameters

NameDescription
TRelationThe relation type.

Constructors

ReadOnlyToManyRelation(IMClient, TypedEntityWrapper, string)

Initializes a new instance of the ReadOnlyToManyRelation class.

Declaration

public ReadOnlyToManyRelation(IMClient client, TypedEntityWrapper wrapper, string relationName)

Parameters

TypeNameDescription
IMClientclientThe IMClient instance.
TypedEntityWrapperwrapperThe typed entity wrapper.
stringrelationNameThe property name.

Properties

Ids

Gets the value of the relation.

Declaration

public override IList<long> Ids { get; }

Property Value

TypeDescription
IList<>long

Overrides

Stylelabs.M.Sdk.Models.Typed.Fields.ToManyRelation.Ids

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