Class FluentEntityDefinition
Defines the fluent entity definition type.
Inheritance
object
FluentEntityDefinition
Namespace: StylelabsStylelabs.MSdkFluentModels
Assembly: Stylelabs.M.Sdk.Fluent.dll
Syntax
Constructors
FluentEntityDefinition(IEntityDefinition, IEntityDefinitionsClient)
Initializes a new instance of the FluentEntityDefinition class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEntityDefinition | entityDefinition |
The IEntityDefinition. |
| IEntityDefinitionsClient | entityDefinitionsClient |
Properties
DisplayTemplate
Declaration
Property Value
| Type | Description |
|---|---|
| string |
Id
Declaration
Property Value
| Type | Description |
|---|---|
| long |
IsManualSortingAllowed
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
IsNew
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
IsPathEnabledDefinition
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
IsSystemOwned
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
IsTaxonomyItemDefinition
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
Labels
Declaration
Property Value
| Type | Description |
|---|---|
| IDictionary<, >CultureInfostring |
Name
Declaration
Property Value
| Type | Description |
|---|---|
| string |
Object
Gets the IEntityDefinition.
Declaration
Property Value
| Type | Description |
|---|---|
| IEntityDefinition |
Methods
Delete()
Deletes the IEntityDefinition.
Declaration
DeleteMemberGroup(string)
Deletes a IMemberGroup.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
The name of the group. |
Returns
| Type | Description |
|---|---|
| FluentEntityDefinition |
The IEntityDefinition. |
DeleteRelation(string)
Deletes a RelationDefinition.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
The name of the relation definition. |
Returns
| Type | Description |
|---|---|
| FluentEntityDefinition |
MemberGroup(string, Action<FluentMemberGroup>)
Gets a member group.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
The name of the member group. |
| Action<>FluentMemberGroup | operations |
The operations to apply to the group. |
Returns
| Type | Description |
|---|---|
| FluentEntityDefinition |
NewMemberGroup(string, Action<FluentMemberGroup>)
Adds a new MemberGroup(string, Action<FluentMemberGroup>).
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
The name of the group. |
| Action<>FluentMemberGroup | initializer |
The member group initializer. |
Returns
| Type | Description |
|---|---|
| FluentEntityDefinition |
Reload()
Reloads the IEntityDefinition.
Declaration
Returns
| Type | Description |
|---|---|
| FluentEntityDefinition |
Save()
Saves an IEntityDefinition.
Declaration
Returns
| Type | Description |
|---|---|
| FluentEntityDefinition |