Class FluentEntityDefinition
Defines the fluent entity definition type.
Inheritance
System.Object
FluentEntityDefinition
Assembly: Stylelabs.M.Sdk.Fluent.dll
Syntax
public class FluentEntityDefinition : object
FluentEntityDefinition(IEntityDefinition, IEntityDefinitionsClient)
Declaration
public FluentEntityDefinition(IEntityDefinition entityDefinition, IEntityDefinitionsClient entityDefinitionsClient)
Parameters
DisplayTemplate
Declaration
public string DisplayTemplate { get; set; }
Property Value
Type |
Description |
System.String |
|
Id
Declaration
public long? Id { get; }
Property Value
Type |
Description |
System.Nullable<System.Int64> |
|
IsManualSortingAllowed
Declaration
public bool IsManualSortingAllowed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsNew
Declaration
public bool IsNew { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsPathEnabledDefinition
Declaration
public bool IsPathEnabledDefinition { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsSystemOwned
Declaration
public bool IsSystemOwned { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsTaxonomyItemDefinition
Declaration
public bool IsTaxonomyItemDefinition { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Labels
Declaration
public IDictionary<CultureInfo, string> Labels { get; }
Property Value
Type |
Description |
IDictionary<CultureInfo, System.String> |
|
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Object
Declaration
public IEntityDefinition Object { get; }
Property Value
Delete()
Declaration
DeleteMemberGroup(String)
Declaration
public FluentEntityDefinition DeleteMemberGroup(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
The name of the group
|
Returns
DeleteRelation(String)
Declaration
public FluentEntityDefinition DeleteRelation(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
The name of the relation definition
|
Returns
MemberGroup(String, Action<FluentMemberGroup>)
Declaration
public FluentEntityDefinition MemberGroup(string name, Action<FluentMemberGroup> operations = null)
Parameters
Type |
Name |
Description |
System.String |
name |
The name of the member group
|
Action<FluentMemberGroup> |
operations |
The operations to apply to the group
|
Returns
NewMemberGroup(String, Action<FluentMemberGroup>)
Declaration
public FluentEntityDefinition NewMemberGroup(string name, Action<FluentMemberGroup> initializer = null)
Parameters
Type |
Name |
Description |
System.String |
name |
The name of the group
|
Action<FluentMemberGroup> |
initializer |
The member group initializer
|
Returns
Reload()
Declaration
public FluentEntityDefinition Reload()
Returns
Save()
Declaration
public FluentEntityDefinition Save()
Returns