Class ReadOnlyToManyRelation<TRelation>
Defines a readonly-relation that is associated with many entities.
Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsTypedFields
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class ReadOnlyToManyRelation<TRelation> : ToManyRelation<TRelation> where TRelation : class, IToManyRelationType Parameters
| Name | Description |
|---|---|
| TRelation |
The relation type. |
Constructors
ReadOnlyToManyRelation(IMClient, TypedEntityWrapper, string)
Initializes a new instance of the ReadOnlyToManyRelation<TRelation> class.
Declaration
RequestResponse
public ReadOnlyToManyRelation(IMClient client, TypedEntityWrapper wrapper, string relationName)Parameters
| Type | Name | Description |
|---|---|---|
| IMClient | client |
The IMClient instance. |
| TypedEntityWrapper | wrapper |
The typed entity wrapper. |
| string | relationName |
The property name. |
Properties
Ids
Gets the value of the relation.
Declaration
RequestResponse
public override IList<long> Ids { get; }Property Value
| Type | Description |
|---|---|
| IList<>long |
Overrides
Stylelabs.M.Sdk.Models.Typed.Fields.ToManyRelation<TRelation>.Ids