C# Класс Signum.Engine.CodeGeneration.LogicCodeGenerator

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
CurrentSchema Schema
SolutionFolder string
SolutionName string

Открытые методы

Метод Описание
GenerateLogicFromEntities ( ) : void

Защищенные методы

Метод Описание
CandidateTypes ( ) : List
GetExpressionName ( ExpressionInfo ei ) : string
GetExpressions ( Type toType ) : List
GetFileName ( Module t ) : string
GetModules ( ) : IEnumerable
GetNamespace ( Module mod ) : string
GetOperationsSymbols ( Type type ) : IEnumerable
GetProjectFolder ( ) : string
GetQueryProperties ( Type type ) : IEnumerable
GetRegisterExpression ( ExpressionInfo ei ) : string
GetSolutionInfo ( string &solutionFolder, string &solutionName ) : void
GetUsingNamespaces ( Module mod, List expressions ) : List
GetVariableName ( Type type ) : string
IsSave ( IOperationSymbolContainer oper ) : bool
IsSimpleValueType ( Type type ) : bool
ShouldWriteExpression ( ExpressionInfo ei ) : bool
ShouldWriteSimpleQuery ( Type type ) : bool
WriteConstructFrom ( IOperationSymbolContainer oper ) : string
WriteConstructFromMany ( IOperationSymbolContainer oper ) : string
WriteConstructSimple ( IOperationSymbolContainer oper ) : string
WriteDeleteOperation ( IOperationSymbolContainer oper ) : string
WriteExecuteOperation ( IOperationSymbolContainer oper ) : string
WriteExpressionMethod ( ExpressionInfo info ) : string
WriteFile ( Module mod ) : string
WriteInclude ( Type type ) : string
WriteLogicClass ( Module mod, List expressions ) : string
WriteOperation ( IOperationSymbolContainer oper ) : string
WriteOperations ( Type type ) : string
WriteQuery ( Type type ) : string
WriteStartMethod ( Module mod, List expressions ) : string

Приватные методы

Метод Описание
GetOperationType ( IOperationSymbolContainer oper ) : OperationType
ShouldWriteSimpleOperations ( IOperationSymbolContainer oper ) : bool
WriteQueryConstructor ( Type type, string v ) : string

Описание методов

CandidateTypes() защищенный Метод

protected CandidateTypes ( ) : List
Результат List

GenerateLogicFromEntities() публичный Метод

public GenerateLogicFromEntities ( ) : void
Результат void

GetExpressionName() защищенный Метод

protected GetExpressionName ( ExpressionInfo ei ) : string
ei ExpressionInfo
Результат string

GetExpressions() защищенный Метод

protected GetExpressions ( Type toType ) : List
toType System.Type
Результат List

GetFileName() защищенный Метод

protected GetFileName ( Module t ) : string
t Module
Результат string

GetModules() защищенный Метод

protected GetModules ( ) : IEnumerable
Результат IEnumerable

GetNamespace() защищенный Метод

protected GetNamespace ( Module mod ) : string
mod Module
Результат string

GetOperationsSymbols() защищенный Метод

protected GetOperationsSymbols ( Type type ) : IEnumerable
type System.Type
Результат IEnumerable

GetProjectFolder() защищенный Метод

protected GetProjectFolder ( ) : string
Результат string

GetQueryProperties() защищенный Метод

protected GetQueryProperties ( Type type ) : IEnumerable
type System.Type
Результат IEnumerable

GetRegisterExpression() защищенный Метод

protected GetRegisterExpression ( ExpressionInfo ei ) : string
ei ExpressionInfo
Результат string

GetSolutionInfo() защищенный Метод

protected GetSolutionInfo ( string &solutionFolder, string &solutionName ) : void
solutionFolder string
solutionName string
Результат void

GetUsingNamespaces() защищенный Метод

protected GetUsingNamespaces ( Module mod, List expressions ) : List
mod Module
expressions List
Результат List

GetVariableName() защищенный Метод

protected GetVariableName ( Type type ) : string
type System.Type
Результат string

IsSave() защищенный Метод

protected IsSave ( IOperationSymbolContainer oper ) : bool
oper IOperationSymbolContainer
Результат bool

IsSimpleValueType() защищенный Метод

protected IsSimpleValueType ( Type type ) : bool
type System.Type
Результат bool

ShouldWriteExpression() защищенный Метод

protected ShouldWriteExpression ( ExpressionInfo ei ) : bool
ei ExpressionInfo
Результат bool

ShouldWriteSimpleQuery() защищенный Метод

protected ShouldWriteSimpleQuery ( Type type ) : bool
type System.Type
Результат bool

WriteConstructFrom() защищенный Метод

protected WriteConstructFrom ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Результат string

WriteConstructFromMany() защищенный Метод

protected WriteConstructFromMany ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Результат string

WriteConstructSimple() защищенный Метод

protected WriteConstructSimple ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Результат string

WriteDeleteOperation() защищенный Метод

protected WriteDeleteOperation ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Результат string

WriteExecuteOperation() защищенный Метод

protected WriteExecuteOperation ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Результат string

WriteExpressionMethod() защищенный Метод

protected WriteExpressionMethod ( ExpressionInfo info ) : string
info ExpressionInfo
Результат string

WriteFile() защищенный Метод

protected WriteFile ( Module mod ) : string
mod Module
Результат string

WriteInclude() защищенный Метод

protected WriteInclude ( Type type ) : string
type System.Type
Результат string

WriteLogicClass() защищенный Метод

protected WriteLogicClass ( Module mod, List expressions ) : string
mod Module
expressions List
Результат string

WriteOperation() защищенный Метод

protected WriteOperation ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Результат string

WriteOperations() защищенный Метод

protected WriteOperations ( Type type ) : string
type System.Type
Результат string

WriteQuery() защищенный Метод

protected WriteQuery ( Type type ) : string
type System.Type
Результат string

WriteStartMethod() защищенный Метод

protected WriteStartMethod ( Module mod, List expressions ) : string
mod Module
expressions List
Результат string

Описание свойств

CurrentSchema публичное свойство

public Schema CurrentSchema
Результат Schema

SolutionFolder публичное свойство

public string SolutionFolder
Результат string

SolutionName публичное свойство

public string SolutionName
Результат string