TessaViewModelAdapter - конструктор |
Пространство имён:
Tessa.Views.Parser
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public TessaViewModelAdapter(
Dbms dbms,
[NotNullAttribute] TessaViewModel model,
[NotNullAttribute] Func<IViewQueryExecutor> executorFactory,
[NotNullAttribute] Func<ISession> sessionAccessor,
[NotNullAttribute] IViewMetadataInterpreter metadataInterpreter,
[NotNullAttribute] IQueryGeneratorFactory queryGeneratorFactory,
[NotNullAttribute] Func<IValidationResultBuilder> validationResultBuilderFactory,
[NotNullAttribute] ViewMetadataEvaluationContextFactory evaluationContextFactory,
[NotNullAttribute] IDbScope dbScope,
[NotNullAttribute] NormalizeParameterNameResolver normalizeParameterNameResolver,
[NotNullAttribute] IViewGetDataExecutor viewGetDataExecutor
)
Public Sub New (
dbms As Dbms,
<NotNullAttribute> model As TessaViewModel,
<NotNullAttribute> executorFactory As Func(Of IViewQueryExecutor),
<NotNullAttribute> sessionAccessor As Func(Of ISession),
<NotNullAttribute> metadataInterpreter As IViewMetadataInterpreter,
<NotNullAttribute> queryGeneratorFactory As IQueryGeneratorFactory,
<NotNullAttribute> validationResultBuilderFactory As Func(Of IValidationResultBuilder),
<NotNullAttribute> evaluationContextFactory As ViewMetadataEvaluationContextFactory,
<NotNullAttribute> dbScope As IDbScope,
<NotNullAttribute> normalizeParameterNameResolver As NormalizeParameterNameResolver,
<NotNullAttribute> viewGetDataExecutor As IViewGetDataExecutor
)
public:
TessaViewModelAdapter(
Dbms dbms,
[NotNullAttribute] TessaViewModel^ model,
[NotNullAttribute] Func<IViewQueryExecutor^>^ executorFactory,
[NotNullAttribute] Func<ISession^>^ sessionAccessor,
[NotNullAttribute] IViewMetadataInterpreter^ metadataInterpreter,
[NotNullAttribute] IQueryGeneratorFactory^ queryGeneratorFactory,
[NotNullAttribute] Func<IValidationResultBuilder^>^ validationResultBuilderFactory,
[NotNullAttribute] ViewMetadataEvaluationContextFactory^ evaluationContextFactory,
[NotNullAttribute] IDbScope^ dbScope,
[NotNullAttribute] NormalizeParameterNameResolver^ normalizeParameterNameResolver,
[NotNullAttribute] IViewGetDataExecutor^ viewGetDataExecutor
)
new :
dbms : Dbms *
[<NotNullAttribute>] model : TessaViewModel *
[<NotNullAttribute>] executorFactory : Func<IViewQueryExecutor> *
[<NotNullAttribute>] sessionAccessor : Func<ISession> *
[<NotNullAttribute>] metadataInterpreter : IViewMetadataInterpreter *
[<NotNullAttribute>] queryGeneratorFactory : IQueryGeneratorFactory *
[<NotNullAttribute>] validationResultBuilderFactory : Func<IValidationResultBuilder> *
[<NotNullAttribute>] evaluationContextFactory : ViewMetadataEvaluationContextFactory *
[<NotNullAttribute>] dbScope : IDbScope *
[<NotNullAttribute>] normalizeParameterNameResolver : NormalizeParameterNameResolver *
[<NotNullAttribute>] viewGetDataExecutor : IViewGetDataExecutor -> TessaViewModelAdapter
Параметры
- dbms
- Тип: Tessa.Platform.DataDbms
Тип используемой базы данных по умолчанию
- model
- Тип: Tessa.ViewsTessaViewModel
Преобразуемая модель
- executorFactory
- Тип: SystemFuncIViewQueryExecutor
Фабрика создания исполнителя запроса
- sessionAccessor
- Тип: SystemFuncISession
Поставщик сессии
- metadataInterpreter
- Тип: Tessa.Views.Parser.SyntaxTree.ViewMetadataIViewMetadataInterpreter
Фабрика создания метаданных
- queryGeneratorFactory
- Тип: Tessa.Views.Parser.SyntaxTree.ExpressionsIQueryGeneratorFactory
Фабрика создания генератора текстов представлений
- validationResultBuilderFactory
- Тип: SystemFuncIValidationResultBuilder
Фабрика создания построителя результатов валидации
- evaluationContextFactory
- Тип: Tessa.Views.Parser.SyntaxTree.ViewMetadataViewMetadataEvaluationContextFactory
The evaluation Context Factory.
- dbScope
- Тип: Tessa.Platform.DataIDbScope
The db Scope.
- normalizeParameterNameResolver
- Тип: Tessa.Views.Parser.SyntaxTree.ExpressionsNormalizeParameterNameResolver
Функция возвращающая функцию обработки параметров - viewGetDataExecutor
- Тип: Tessa.Views.ParserIViewGetDataExecutor
исполнитель представлений
Исключения Исключение | Условие |
---|
Exception |
A delegate callback throws an exception.
|
См. также