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

EntitySchema.CreateSelect(UserConnection,IEnumerable,Boolean,EntitySchemaColumnMap) - метод Смотри также  Terrasoft.Core.Entities - пространство имен > EntitySchema - класс > CreateSelect - метод : CreateSelect(UserConnection,IEnumerable,Boolean,EntitySchemaColumnMap) - метод C#

userConnection
User connection.
columns
Columns that are to be returned in query results.
takeDisplayLookupValues
Indicates that the query returns the primary display values. If the parameter is true, the query will return the primary display values.
columnMap
Map of columns for the created query.

Glossary Item Box

Creates a basic query to retrieve the specified enumerator of the schema columns, using the specified user connection, and returning a map of columns. Depending on the value of the takeDisplayLookupValues parameter, the query results can return primary display values from lookups.

Синтаксис

public virtual Select CreateSelect( 
   UserConnection userConnection, 
   IEnumerable<EntitySchemaColumn> columns, 
   bool takeDisplayLookupValues, 
   out EntitySchemaColumnMap columnMap 
)

Параметры

userConnection
User connection.
columns
Columns that are to be returned in query results.
takeDisplayLookupValues
Indicates that the query returns the primary display values. If the parameter is true, the query will return the primary display values.
columnMap
Map of columns for the created query.

Тип возвращаемого значения

Query to retrieve columns of the current schema.

Исключения

ИсключениеОписание
System.Security.SecurityExceptionInsufficient permissions to read information about the specified schema.
Terrasoft.Common.NullOrEmptyExceptionIf the list of the schemas from which values are taken is not specified for the primary display values or if one of these schemas is not initialized.

Заметки

Method is overloaded.

Смотри также

© Terrasoft 2002-2017.

Был ли данный материал полезен?

Как можно улучшить эту статью?