logo
logo
  • Interface IEntityLoadConfigurationBuilder

    A builder for instances of IEntityLoadConfiguration.

    Namespace: Stylelabs.M.Framework.Essentials.LoadConfigurations
    Assembly: Stylelabs.M.Sdk.dll
    Syntax
    public interface IEntityLoadConfigurationBuilder

    Methods

    Build()

    Gets the resulting instance of IEntityLoadConfiguration.

    Declaration
    IEntityLoadConfiguration Build()
    Returns
    Type Description
    IEntityLoadConfiguration

    InCulture(CultureInfo)

    Indicates that entities should be loaded in the specified culture.

    Declaration
    IEntityLoadConfigurationBuilder InCulture(CultureInfo culture)
    Parameters
    Type Name Description
    CultureInfo culture
    Returns

    InCultures(CultureInfo[])

    Indicates that entities should be loaded in the specified cultures.

    Declaration
    IEntityLoadConfigurationBuilder InCultures(params CultureInfo[] cultures)
    Parameters
    Type Name Description
    CultureInfo[] cultures
    Returns

    InCultures(IEnumerable<CultureInfo>)

    Indicates that entities should be loaded in the specified cultures.

    Declaration
    IEntityLoadConfigurationBuilder InCultures(IEnumerable<CultureInfo> cultures)
    Parameters
    Type Name Description
    IEnumerable<CultureInfo> cultures
    Returns

    InCultures(LoadOption)

    Indicates that entities should be loaded int the cultures specified by .

    Declaration
    IEntityLoadConfigurationBuilder InCultures(LoadOption loadOption)
    Parameters
    Type Name Description
    LoadOption loadOption
    Returns

    WithProperties(IEnumerable<String>)

    Indicates that entities should be loaded with the specified properties.

    Declaration
    IEntityLoadConfigurationBuilder WithProperties(IEnumerable<string> properties)
    Parameters
    Type Name Description
    IEnumerable<System.String> properties
    Returns

    WithProperties(LoadOption)

    Indicates that entities should be loaded with the properties specified by loadOption.

    Declaration
    IEntityLoadConfigurationBuilder WithProperties(LoadOption loadOption)
    Parameters
    Type Name Description
    LoadOption loadOption
    Returns

    WithProperties(String[])

    Indicates that entities should be loaded with the specified properties.

    Declaration
    IEntityLoadConfigurationBuilder WithProperties(params string[] properties)
    Parameters
    Type Name Description
    System.String[] properties
    Returns

    WithProperty(String)

    Indicates that entities should be loaded with the specified property.

    Declaration
    IEntityLoadConfigurationBuilder WithProperty(string property)
    Parameters
    Type Name Description
    System.String property
    Returns

    WithRelation(String)

    Indicates that entities should be loaded with the specified relation.

    Declaration
    IEntityLoadConfigurationBuilder WithRelation(string relation)
    Parameters
    Type Name Description
    System.String relation
    Returns

    WithRelation(String, Nullable<RelationRole>)

    Indicates that entities should be loaded with the specified relation in the specified role.

    Declaration
    IEntityLoadConfigurationBuilder WithRelation(string relation, RelationRole? role)
    Parameters
    Type Name Description
    System.String relation
    System.Nullable<RelationRole> role
    Returns

    WithRelations(IEnumerable<RelationSpecification>)

    Indicates that entities should be loaded with the relations specified by specifications.

    Declaration
    IEntityLoadConfigurationBuilder WithRelations(IEnumerable<RelationSpecification> specifications)
    Parameters
    Type Name Description
    IEnumerable<RelationSpecification> specifications
    Returns

    WithRelations(IEnumerable<String>)

    Indicates that entities should be loaded with the specified relations.

    Declaration
    IEntityLoadConfigurationBuilder WithRelations(IEnumerable<string> relations)
    Parameters
    Type Name Description
    IEnumerable<System.String> relations
    Returns

    WithRelations(LoadOption)

    Indicates that entities should be loaded with the properties specified by loadOption.

    Declaration
    IEntityLoadConfigurationBuilder WithRelations(LoadOption loadOption)
    Parameters
    Type Name Description
    LoadOption loadOption
    Returns

    WithRelations(RelationSpecification[])

    Indicates that entities should be loaded with the relations specified by specifications.

    Declaration
    IEntityLoadConfigurationBuilder WithRelations(params RelationSpecification[] specifications)
    Parameters
    Type Name Description
    RelationSpecification[] specifications
    Returns

    WithRelations(String[])

    Indicates that entities should be loaded with the specified relations.

    Declaration
    IEntityLoadConfigurationBuilder WithRelations(params string[] relations)
    Parameters
    Type Name Description
    System.String[] relations
    Returns

    Can we improve this article ? Provide feedback