Class EntityLoadConfigurationBuilder
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Default implementation of IEntityLoadConfigurationBuilder.
Inheritance
Implements
Namespace: Stylelabs.M.Framework.Essentials.LoadConfigurations
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
EntityLoadConfigurationBuilder()
Creates a new instance of EntityLoadConfigurationBuilder. The builder will build a completely new EntityLoadConfiguration.
Declaration
EntityLoadConfigurationBuilder(IEntityLoadConfiguration)
Creates a new instance of EntityLoadConfigurationBuilder. The builder will extend or overwrite an existing EntityLoadConfiguration.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEntityLoadConfiguration | entityLoadConfiguration |
The existing EntityLoadConfiguration to extend or overwrite. |
Methods
Build()
Gets the resulting instance of IEntityLoadConfiguration.
Declaration
Returns
| Type | Description |
|---|---|
| IEntityLoadConfiguration |
InCulture(CultureInfo)
Indicates that entities should be loaded in the specified culture.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| CultureInfo | culture |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
InCultures(CultureInfo[])
Indicates that entities should be loaded in the specified cultures.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| CultureInfo[] | cultures |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
InCultures(IEnumerable<CultureInfo>)
Indicates that entities should be loaded in the specified cultures.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<CultureInfo> | cultures |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
InCultures(LoadOption)
Indicates that entities should be loaded int the cultures specified by .
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| LoadOption | loadOption |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
WithProperties(IEnumerable<String>)
Indicates that entities should be loaded with the specified properties.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<System.String> | properties |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
WithProperties(LoadOption)
Indicates that entities should be loaded with the properties specified by loadOption.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| LoadOption | loadOption |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
WithProperties(String[])
Indicates that entities should be loaded with the specified properties.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | properties |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
WithProperty(String)
Indicates that entities should be loaded with the specified property.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | property |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
WithRelation(String)
Indicates that entities should be loaded with the specified relation.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | relation |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
WithRelation(String, Nullable<RelationRole>)
Indicates that entities should be loaded with the specified relation in the specified role.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | relation | |
| System.Nullable<RelationRole> | role |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
WithRelations(IEnumerable<RelationSpecification>)
Indicates that entities should be loaded with the relations specified by specifications.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<RelationSpecification> | specs |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
WithRelations(IEnumerable<String>)
Indicates that entities should be loaded with the specified relations.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<System.String> | relations |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
WithRelations(LoadOption)
Indicates that entities should be loaded with the properties specified by loadOption.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| LoadOption | loadOption |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
WithRelations(RelationSpecification[])
Indicates that entities should be loaded with the relations specified by specifications.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| RelationSpecification[] | specs |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |
WithRelations(String[])
Indicates that entities should be loaded with the specified relations.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | relations |
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder |