Creatio development guide
Это документация Creatio версии 7.9.0. Мы рекомендуем использовать новую версию документации.

EntitySchemaQuery - класс Члены  Смотри также  Terrasoft.Core.Entities - пространство имен : EntitySchemaQuery - класс C#

Glossary Item Box

Represents the entity schema query. It is a high-level class that enables to build complex queries using only paths to columns of the table entity (schema) against the root table.

Синтаксис

public class EntitySchemaQuery : Terrasoft.Core.IManagerItemInstance  

Тип EntitySchemaQuery предоставляет следующие члены.

Конструкторы

 ИмяОписание
Public EntitySchemaQuery Перегружен.   

Cвойства

 ИмяОписание
Public - свойствоCacheThe query cache.  
Public - свойствоCacheItemNameName of the cache item.  
Public - свойствоCanReadUncommitedDataDetermines whether the query results will include the data for which the transaction is not completed.  
Public - свойствоCaptionCaption.  
Public - свойствоColumnsCollection of columns of the current entity schema query.  
Public - свойствоDataValueTypeManagerManager of the data type values.  
Public - свойствоEntitySchemaManagerEntity schema manager.  
Public - свойствоFiltersCollection of filters of the current entity schema query.  
Public - свойствоIgnoreDisplayValuesIndicates whether displayed values of columns are used in the query.  
Public - свойствоIsDistinctIndicates whether to remove duplicates in the resulting data set.  
Public - свойствоIsInheritedIndicates whether the query is inherited.  
Public - свойствоJoinRightStateParameter that determines the condition for applying permissions when using related tables if the schema is managed by records.  
Public - свойствоManagerSchema manager.  
Public - свойствоManagerItemManager item.  
Public - свойствоNameName.  
Public - свойствоParentCollectionCollection of queries that contains the current entity schema query.  
Public - свойствоParentEntitySchemaParent schema of the query.  
Public - свойствоPrimaryQueryColumnThe column created from the primary column of the root schema. Initialized during the first access.  
Public - свойствоRootSchemaThe root schema.  
Public - свойствоRowCountNumber of rows that are returned by the query.  
Public - свойствоSkipRowCountNumber of rows to skip in the resulting data set.  
Public - свойствоUseAdminRightsThe parameter that determines if the access rights will be taken into account when creating a data qiery.  

Методы

 ИмяОписание
Public - методAddAllSchemaColumnsIn the collection of columns of the current entity schema query, inserts all columns of the root schema.  
Public - методAddColumnПерегружен. Создает и добавляет колонку в текущий запрос к схеме объекта.  
Public - методClearCachClears the cache of the current query.  
Public - методstatic (Shared in Visual Basic)ClearDefCachRemoves the item with the specified name from the query's cache.  
Public - методCloneCreates the clone of the current EntitySchemaQuery instance.  
Public - методCreateAggregationEntitySchemaExpressionGets the expression of the aggregate function of the specified type for the expression of column in the specified path.  
Public - методCreateAggregationFunctionGets the instance of the EntitySchemaAggregationQueryFunction aggregate function with the specified type of column in a specified path in relation to the root schema.  
Public - методCreateCaseNotNullFunctionGets the instance of the EntitySchemaCaseNotNullQueryFunction function for the specified array of condition expressions.  
Public - методCreateCaseNotNullQueryFunctionWhenItemGets the expression instance for an SQL statement: WHEN <Expression_1> IS NOT NULL THEN <Expression_2>.  
Public - методCreateCastFunctionGets the instance of the EntitySchemaCastQueryFunction function for the expression (with the specified target data type) of column in a path specified in relation to the root schema.  
Public - методCreateCoalesceFunctionПерегружен.   
Public - методCreateConcatFunctionGets the instance of the EntitySchemaConcatQueryFunction function for the specified array of expressions.  
Public - методCreateCurrentDateFunctionGets the instance of the EntitySchemaCurrentDateQueryFunction function that returns the current date.  
Public - методCreateCurrentDateTimeFunctionGets the instance of the EntitySchemaCurrentDateTimeQueryFunction function that returns the current date and time.  
Public - методCreateCurrentTimeFunctionGets the instance of the EntitySchemaCurrentTimeQueryFunction function that determines the current time.  
Public - методCreateCurrentUserAccountFunctionGets the instance of the EntitySchemaCurrentUserAccountQueryFunction function that determines the identifier of the current user's account.  
Public - методCreateCurrentUserContactFunctionGets the instance of the EntitySchemaCurrentUserContactQueryFunction function that determines the identifier of the current user's contact.  
Public - методCreateCurrentUserFunctionGets the instance of the EntitySchemaCurrentUserQueryFunction function that determines the current user.  
Public - методCreateDatePartFunctionGets the instance of the EntitySchemaDatePartQueryFunction function that returns the specified time span for value of the column in a path specified in relation to the root schema.  
Public - методCreateDayFunctionGets the instance of the EntitySchemaDatePartQueryFunction function that returns the specified [Day] time span for value of the column in a path specified in relation to the root schema.  
Public - методCreateExistsFilterFor the current entity schema query, gets the comparison filter of the type [exists by the specified condition] and sets the expression of column in a specified path as the value to test for.  
Public - методCreateFilterПерегружен. Создает фильтр запроса для выборки записей по определенным условиям.  
Public - методCreateFilterWithParametersПерегружен. Создает параметризированный фильтр для выборки записей по определенным условиям.  
Public - методCreateHourFunctionGets the instance of the EntitySchemaDatePartQueryFunction function that returns the specified [Hour] datepart for value of the column in a path specified in relation to the root schema.  
Public - методCreateHourMinuteFunctionGets the instance of the EntitySchemaDatePartQueryFunction function that returns the [Minute] datepart for value of the column in a path specified in relation to the root schema.  
Public - методCreateIsNotNullFilterFor the current entity schema query, gets the comparison filter of the type [is not null in database] and sets the expression of column in a specified path as the value to test for.  
Public - методCreateIsNullFilterFor the current entity schema query, gets the comparison filter of the type [is null in database] and sets the expression of column in a specified path as the validation criteria.  
Public - методCreateIsNullFunctionGets the instance of the EntitySchemaIsNullQueryFunction function for columns with values to check and substitute in paths specified in relation to the root schema.  
Public - методCreateLengthFunctionПерегружен.   
Public - методCreateMonthFunctionGets the instance of the EntitySchemaDatePartQueryFunction function that returns the specified [Month] datepart for value of the column in a path specified in relation to the root schema.  
Public - методCreateNotExistsFilterFor the current entity schema query, gets the comparison filter of the type [does not exist by the specified condition] and sets the expression of column in a specified path as the value to test for.  
Public - методstatic (Shared in Visual Basic)CreateParameterExpressionПерегружен. Создает выражение запроса к схеме объекта для параметра.  
Public - методstatic (Shared in Visual Basic)CreateParameterExpressionsПерегружен. Создает перечень выражений запросов для параметров с определенным типом данных.  
Public - методstatic (Shared in Visual Basic)CreateSchemaColumnExpressionПерегружен.   
Public - методCreateSchemaColumnExpressionsПерегружен.   
Public - методCreateSchemaColumnExpressionsWithoutCoalesceGets the enumerator of column expressions of the entity schema query by the specified array of paths to columns. If it is a column of the multilookup type, the COALESCE function is not used for its values.  
Public - методstatic (Shared in Visual Basic)CreateSchemaColumnQueryExpressionПерегружен.   
Public - методCreateSubEntitySchemaExpressionGets the expression of entity schema subquery for the column in the specified path.  
Public - методCreateTrimFunctionПерегружен.   
Public - методCreateUpperFunctionGets the instance of the EntitySchemaUpperQueryFunction function for the expression of column in a path specified in relation to the root schema.  
Public - методCreateWeekdayFunctionGets the instance of the EntitySchemaDatePartQueryFunction function that returns the specified [Day of Week] datepart for value of the column in a path specified in relation to the root schema.  
Public - методCreateWeekFunctionGets the instance of the EntitySchemaDatePartQueryFunction function that returns the specified [Week] datepart for value of the column in a path specified in relation to the root schema.  
Public - методCreateYearFunctionGets the instance of the EntitySchemaDatePartQueryFunction function that returns the specified [Year] datepart for value of the column in a path specified in relation to the root schema.  
Public - методGetDataTableGets the output of executing the entity schema query as the table of in-memory data, using the specified user connection.  
Public - методstatic (Shared in Visual Basic)GetDayOfWeekNumberGets the sequence number of the day of week for the specified System.DayOfWeek entity taking into account the local settings.  
Public - методGetEntityGets the Entity instance by the specified primary key, using the specified user connection.  
Public - методGetEntityCollectionПерегружен. Возвращает коллекцию экземпляров Entity, представляющих результаты выполнения текущего запроса.  
Public - методGetSchemaGets the entity schema instance of the current EntitySchemaQuery instance.  
Public - методGetSelectQueryПерегружен. Возвращает экземпляр запроса на выборку данных.  
Public - методGetSummaryColumnsПерегружен. Возвращает коллекцию выражений  колонок запроса, для которых вычисляются итоговые значения.  
Public - методGetSummaryEntityПерегружен. Возвращает экземпляр Entity для результата, возвращаемого запросом на выборку итоговых значений.  
Public - методGetSummarySelectQueryПерегружен. Строит запрос на выборку итоговых (агрегирующих) значений для заданной коллекции колонок текущего экземпляра EntitySchemaQuery.  
Public - методGetTypedColumnValue<T>Gets the typed value of the column with the specified name from the passed-in Entity instance.  
Public - методLoadDataTableDataПерегружен. Загружает результат выполнения текущего запроса к схеме объекта в объект System.Data.DataTable.  
Public - методRemoveColumnRemoves the column with the specified name from the collection of columns of the current query.  
Public - методResetSchemaClears the schema of the current EntitySchemaQuery instance.  
Public - методResetSelectQueryClears the select query for the current entity schema query.  

События

 ИмяОписание
Public - событиеLoadingEvent that occurs when loading data.  

Иерархия наследования

System.Object
   Terrasoft.Core.Entities.EntitySchemaQuery

Смотри также

© Terrasoft 2002-2017.