1. QueryableEntityExtensions

Class QueryableEntityExtensions

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Extension methods for .

Inheritance
System.Object
QueryableEntityExtensions
Namespace: Stylelabs.M.Base.Querying.Linq
Assembly: Stylelabs.M.Sdk.dll
Syntax
public static class QueryableEntityExtensions : object

Methods

InCultures(IQueryableEntity, ICultureLoadOption)

Specifies the cultures in which the entities should be loaded.

Declaration
public static IQueryableEntity InCultures(this IQueryableEntity entity, ICultureLoadOption loadOption)
Parameters
TypeNameDescription
IQueryableEntityentity
ICultureLoadOptionloadOption

The culture load options.

Returns
TypeDescription
IQueryableEntity

LoadConfiguration(IQueryableEntity, IQueryLoadConfiguration)

Specifies the configuration on how to load the entities.

Declaration
public static IQueryableEntity LoadConfiguration(this IQueryableEntity entity, IQueryLoadConfiguration loadConfiguration)
Parameters
TypeNameDescription
IQueryableEntityentity
IQueryLoadConfigurationloadConfiguration

The load configuration.

Returns
TypeDescription
IQueryableEntity

Parent(IQueryableEntity, String)

Allows filtering on the parent over the specified relation.

Declaration
public static QueryableRelationValue Parent(this IQueryableEntity entity, string relation)
Parameters
TypeNameDescription
IQueryableEntityentity
System.Stringrelation

The name of the relation.

Returns
TypeDescription
QueryableRelationValue

Property(IQueryableEntity, String)

Allows filtering and sorting on the values of the specified property.

Declaration
public static QueryablePropertyValue Property(this IQueryableEntity entity, string property)
Parameters
TypeNameDescription
IQueryableEntityentity
System.Stringproperty

The name of the property.

Returns
TypeDescription
QueryablePropertyValue

Property(IQueryableEntity, String, CultureInfo)

Allows filtering and sorting on the values of the specified property in the specified culture.

Declaration
public static QueryablePropertyValue Property(this IQueryableEntity entity, string property, CultureInfo culture)
Parameters
TypeNameDescription
IQueryableEntityentity
System.Stringproperty

The name of the property.

CultureInfoculture

The culture used to access the values.

Returns
TypeDescription
QueryablePropertyValue

WithProperties(IQueryableEntity, IPropertyLoadOption)

Specifies the properties that need to be loaded with the entities.

Declaration
public static IQueryableEntity WithProperties(this IQueryableEntity entity, IPropertyLoadOption loadOption)
Parameters
TypeNameDescription
IQueryableEntityentity
IPropertyLoadOptionloadOption

The property load options.

Returns
TypeDescription
IQueryableEntity

WithRelations(IQueryableEntity, IRelationLoadOption)

Specifies the relations that need to be loaded with the entities.

Declaration
public static IQueryableEntity WithRelations(this IQueryableEntity entity, IRelationLoadOption loadOption)
Parameters
TypeNameDescription
IQueryableEntityentity
IRelationLoadOptionloadOption

The relation load options.

Returns
TypeDescription
IQueryableEntity
この記事を改善するための提案がある場合は、 お知らせください!