C# Class Signum.Engine.CodeGeneration.LogicCodeGenerator

Afficher le fichier Open project: signumsoftware/framework

Méthodes publiques

Свойство Type Description
CurrentSchema Schema
SolutionFolder string
SolutionName string

Méthodes publiques

Méthode Description
GenerateLogicFromEntities ( ) : void

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
GetOperationType ( IOperationSymbolContainer oper ) : OperationType
ShouldWriteSimpleOperations ( IOperationSymbolContainer oper ) : bool
WriteQueryConstructor ( Type type, string v ) : string

Method Details

CandidateTypes() protected méthode

protected CandidateTypes ( ) : List
Résultat List

GenerateLogicFromEntities() public méthode

public GenerateLogicFromEntities ( ) : void
Résultat void

GetExpressionName() protected méthode

protected GetExpressionName ( ExpressionInfo ei ) : string
ei ExpressionInfo
Résultat string

GetExpressions() protected méthode

protected GetExpressions ( Type toType ) : List
toType System.Type
Résultat List

GetFileName() protected méthode

protected GetFileName ( Module t ) : string
t Module
Résultat string

GetModules() protected méthode

protected GetModules ( ) : IEnumerable
Résultat IEnumerable

GetNamespace() protected méthode

protected GetNamespace ( Module mod ) : string
mod Module
Résultat string

GetOperationsSymbols() protected méthode

protected GetOperationsSymbols ( Type type ) : IEnumerable
type System.Type
Résultat IEnumerable

GetProjectFolder() protected méthode

protected GetProjectFolder ( ) : string
Résultat string

GetQueryProperties() protected méthode

protected GetQueryProperties ( Type type ) : IEnumerable
type System.Type
Résultat IEnumerable

GetRegisterExpression() protected méthode

protected GetRegisterExpression ( ExpressionInfo ei ) : string
ei ExpressionInfo
Résultat string

GetSolutionInfo() protected méthode

protected GetSolutionInfo ( string &solutionFolder, string &solutionName ) : void
solutionFolder string
solutionName string
Résultat void

GetUsingNamespaces() protected méthode

protected GetUsingNamespaces ( Module mod, List expressions ) : List
mod Module
expressions List
Résultat List

GetVariableName() protected méthode

protected GetVariableName ( Type type ) : string
type System.Type
Résultat string

IsSave() protected méthode

protected IsSave ( IOperationSymbolContainer oper ) : bool
oper IOperationSymbolContainer
Résultat bool

IsSimpleValueType() protected méthode

protected IsSimpleValueType ( Type type ) : bool
type System.Type
Résultat bool

ShouldWriteExpression() protected méthode

protected ShouldWriteExpression ( ExpressionInfo ei ) : bool
ei ExpressionInfo
Résultat bool

ShouldWriteSimpleQuery() protected méthode

protected ShouldWriteSimpleQuery ( Type type ) : bool
type System.Type
Résultat bool

WriteConstructFrom() protected méthode

protected WriteConstructFrom ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Résultat string

WriteConstructFromMany() protected méthode

protected WriteConstructFromMany ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Résultat string

WriteConstructSimple() protected méthode

protected WriteConstructSimple ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Résultat string

WriteDeleteOperation() protected méthode

protected WriteDeleteOperation ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Résultat string

WriteExecuteOperation() protected méthode

protected WriteExecuteOperation ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Résultat string

WriteExpressionMethod() protected méthode

protected WriteExpressionMethod ( ExpressionInfo info ) : string
info ExpressionInfo
Résultat string

WriteFile() protected méthode

protected WriteFile ( Module mod ) : string
mod Module
Résultat string

WriteInclude() protected méthode

protected WriteInclude ( Type type ) : string
type System.Type
Résultat string

WriteLogicClass() protected méthode

protected WriteLogicClass ( Module mod, List expressions ) : string
mod Module
expressions List
Résultat string

WriteOperation() protected méthode

protected WriteOperation ( IOperationSymbolContainer oper ) : string
oper IOperationSymbolContainer
Résultat string

WriteOperations() protected méthode

protected WriteOperations ( Type type ) : string
type System.Type
Résultat string

WriteQuery() protected méthode

protected WriteQuery ( Type type ) : string
type System.Type
Résultat string

WriteStartMethod() protected méthode

protected WriteStartMethod ( Module mod, List expressions ) : string
mod Module
expressions List
Résultat string

Property Details

CurrentSchema public_oe property

public Schema CurrentSchema
Résultat Schema

SolutionFolder public_oe property

public string SolutionFolder
Résultat string

SolutionName public_oe property

public string SolutionName
Résultat string