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

Class CustomerGroupLoader

Loads inventories for a content.

Inheritance
System.Object
CustomerGroupLoader
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.Commerce.Catalog
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2
Syntax
public class CustomerGroupLoader

Constructors

CustomerGroupLoader(DataContext)

Creates an instance of CustomerGroupLoader.

Declaration
public CustomerGroupLoader(DataContext dataContext)
Parameters
Type Name Description
DataContext dataContext

The meta data entry point.

Methods

Get()

Gets all customer group.

Declaration
public IEnumerable<CustomerGroup> Get()
Returns
Type Description
System.Collections.Generic.IEnumerable<CustomerGroup>

Collection of customer group.

Get(String)

Gets a customer group by a specified name

Declaration
public CustomerGroup Get(string name)
Parameters
Type Name Description
System.String name

Customer group name.

Returns
Type Description
CustomerGroup