logo
logo
  • Class EntityLoadConfiguration

    Inheritance
    System.Object
    EntityLoadConfiguration
    Namespace: Stylelabs.M.Framework.Essentials.LoadConfigurations
    Assembly: Stylelabs.M.Sdk.dll
    Syntax
    public class EntityLoadConfiguration : object, IEntityLoadConfiguration

    Constructors

    EntityLoadConfiguration()

    Creates an empty load configuration.

    Declaration
    public EntityLoadConfiguration()

    EntityLoadConfiguration(ICultureLoadOption, IPropertyLoadOption, IRelationLoadOption)

    Creates a new load configuration with specified loading options.

    Declaration
    public EntityLoadConfiguration(ICultureLoadOption cultureOption, IPropertyLoadOption propertyOption, IRelationLoadOption relationOption)
    Parameters
    Type Name Description
    ICultureLoadOption cultureOption

    Culture load option.

    IPropertyLoadOption propertyOption

    Property load option.

    IRelationLoadOption relationOption

    Relation load option.

    Properties

    CultureLoadOption

    Declaration
    public ICultureLoadOption CultureLoadOption { get; set; }
    Property Value
    Type Description
    ICultureLoadOption

    Default

    Gets the entity in the default culture, with all properties and no relations.

    Declaration
    public static IEntityLoadConfiguration Default { get; }
    Property Value
    Type Description
    IEntityLoadConfiguration

    DefaultCultureFull

    Gets the entity in default culture, with all properties and all relations.

    Declaration
    public static IEntityLoadConfiguration DefaultCultureFull { get; }
    Property Value
    Type Description
    IEntityLoadConfiguration

    Full

    Gets the entity in all installed cultures, with all properties and all relations.

    Declaration
    public static IEntityLoadConfiguration Full { get; }
    Property Value
    Type Description
    IEntityLoadConfiguration

    Minimal

    Only loads the system entity properties.

    Declaration
    public static IEntityLoadConfiguration Minimal { get; }
    Property Value
    Type Description
    IEntityLoadConfiguration

    PropertyLoadOption

    Declaration
    public IPropertyLoadOption PropertyLoadOption { get; set; }
    Property Value
    Type Description
    IPropertyLoadOption

    RelationLoadOption

    Declaration
    public IRelationLoadOption RelationLoadOption { get; set; }
    Property Value
    Type Description
    IRelationLoadOption

    Methods

    Builder()

    Declaration
    public IEntityLoadConfigurationBuilder Builder()
    Returns

    DeepClone()

    Declaration
    public IEntityLoadConfiguration DeepClone()
    Returns
    Type Description
    IEntityLoadConfiguration

    DeepEquals(IEntityLoadConfiguration)

    Declaration
    public bool DeepEquals(IEntityLoadConfiguration other)
    Parameters
    Type Name Description
    IEntityLoadConfiguration other
    Returns
    Type Description
    System.Boolean

    Implements

    Can we improve this article ? Provide feedback