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 | The IEntityDefinitionsClient. |
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 | The FluentEntityDefinition. |
MemberGroup(string, Action)
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 | The FluentEntityDefinition. |
NewMemberGroup(string, Action)
Adds a new MemberGroup(string, Action
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the group. |
| Action<>FluentMemberGroup | initializer | The member group initializer. |
Returns
| Type | Description |
|---|---|
| FluentEntityDefinition | The FluentEntityDefinition. |
Reload()
Reloads the IEntityDefinition.
Declaration
Returns
| Type | Description |
|---|---|
| FluentEntityDefinition | The FluentEntityDefinition. |
Save()
Saves an IEntityDefinition.
Declaration
Returns
| Type | Description |
|---|---|
| FluentEntityDefinition | An FluentEntityDefinition. |
Extension Methods
FluentEntityDefinitionExtensions.AssertMemberGroup(FluentEntityDefinition, string, string)
If you have suggestions for improving this article, let us know!