Class FluentEntityDefinition

Defines the fluent entity definition type.

Inheritance
object
FluentEntityDefinition
Namespace: StylelabsStylelabs.MSdkFluentModels
Assembly: Stylelabs.M.Sdk.Fluent.dll
Syntax
RequestResponse

public class FluentEntityDefinition

Constructors

FluentEntityDefinition(IEntityDefinition, IEntityDefinitionsClient)

Initializes a new instance of the FluentEntityDefinition class.

Declaration
RequestResponse

public FluentEntityDefinition(IEntityDefinition entityDefinition, IEntityDefinitionsClient entityDefinitionsClient)
Parameters
TypeNameDescription
IEntityDefinitionentityDefinition

The IEntityDefinition.

IEntityDefinitionsCliententityDefinitionsClient

The IEntityDefinitionsClient.

Properties

DisplayTemplate

Declaration
RequestResponse

public string DisplayTemplate { get; set; }
Property Value
TypeDescription
string

Id

Declaration
RequestResponse

public long? Id { get; }
Property Value
TypeDescription
long

IsManualSortingAllowed

Declaration
RequestResponse

public bool IsManualSortingAllowed { get; set; }
Property Value
TypeDescription
bool

IsNew

Declaration
RequestResponse

public bool IsNew { get; }
Property Value
TypeDescription
bool

IsPathEnabledDefinition

Declaration
RequestResponse

public bool IsPathEnabledDefinition { get; set; }
Property Value
TypeDescription
bool

IsSystemOwned

Declaration
RequestResponse

public bool IsSystemOwned { get; set; }
Property Value
TypeDescription
bool

IsTaxonomyItemDefinition

Declaration
RequestResponse

public bool IsTaxonomyItemDefinition { get; set; }
Property Value
TypeDescription
bool

Labels

Declaration
RequestResponse

public IDictionary<CultureInfo, string> Labels { get; }
Property Value
TypeDescription
IDictionary<, >CultureInfostring

Name

Declaration
RequestResponse

public string Name { get; }
Property Value
TypeDescription
string

Object

Gets the IEntityDefinition.

Declaration
RequestResponse

public IEntityDefinition Object { get; }
Property Value
TypeDescription
IEntityDefinition

Methods

Delete()

Deletes the IEntityDefinition.

Declaration
RequestResponse

public void Delete()

DeleteMemberGroup(string)

Deletes a IMemberGroup.

Declaration
RequestResponse

public FluentEntityDefinition DeleteMemberGroup(string name)
Parameters
TypeNameDescription
stringname

The name of the group.

Returns

DeleteRelation(string)

Deletes a RelationDefinition.

Declaration
RequestResponse

public FluentEntityDefinition DeleteRelation(string name)
Parameters
TypeNameDescription
stringname

The name of the relation definition.

Returns

MemberGroup(string, Action<FluentMemberGroup>)

Gets a member group.

Declaration
RequestResponse

public FluentEntityDefinition MemberGroup(string name, Action<FluentMemberGroup> operations = null)
Parameters
TypeNameDescription
stringname

The name of the member group.

Action<>FluentMemberGroupoperations

The operations to apply to the group.

Returns

NewMemberGroup(string, Action<FluentMemberGroup>)

Declaration
RequestResponse

public FluentEntityDefinition NewMemberGroup(string name, Action<FluentMemberGroup> initializer = null)
Parameters
TypeNameDescription
stringname

The name of the group.

Action<>FluentMemberGroupinitializer

The member group initializer.

Returns

Reload()

Reloads the IEntityDefinition.

Declaration
RequestResponse

public FluentEntityDefinition Reload()
Returns

Save()

Saves an IEntityDefinition.

Declaration
RequestResponse

public FluentEntityDefinition Save()
Returns

Extension Methods

Do you have some feedback for us?

If you have suggestions for improving this article,