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

Class GroupDefinitionRepository

This class contains GroupDefinition from code.

Inheritance
System.Object
GroupDefinitionRepository
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public abstract class GroupDefinitionRepository

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