November Happy Hour will be moved to Thursday December 5th.

Class GroupDefinitionRepository

This class contains GroupDefinition from code.

Inheritance
System.Object
GroupDefinitionRepository
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public abstract class GroupDefinitionRepository : Object

Constructors

GroupDefinitionRepository()

Declaration
protected GroupDefinitionRepository()

Methods

Delete(GroupDefinition)

Deletes a GroupDefinition

Declaration
public abstract void Delete(GroupDefinition groupDefinition)
Parameters
Type Name Description
GroupDefinition groupDefinition

The GroupDefinition that will be deleted

List()

List all defined GroupDefinition from code

Declaration
public abstract IEnumerable<GroupDefinition> List()
Returns
Type Description
System.Collections.Generic.IEnumerable<GroupDefinition>

A collection of Group Definition

Load(String)

Load a group Definition

Declaration
public abstract GroupDefinition Load(string name)
Parameters
Type Name Description
System.String name

The name of GroupDefinition

Returns
Type Description
GroupDefinition

A Group Definition or null if not found

Save(GroupDefinition)

Stores or updates a specified GroupDefinition in the repository.

Declaration
public abstract void Save(GroupDefinition groupDefinition)
Parameters
Type Name Description
GroupDefinition groupDefinition

The group definition.

Extension Methods