C# Класс SalarDbCodeGenerator.GeneratorEngine.SchemaAnalyzer

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

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

Метод Описание
AnalyzeAndRename ( ) : void
SchemaAnalyzer ( ProjectDefinaton project, PatternProject pattern, DbDatabase database ) : System

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

Метод Описание
Determine_DataTypeNullable ( DbColumn dbColumn ) : bool

Column data type is nullabe

Determine_ExplicitCastDataType ( DbColumn dbColumn ) : bool
NaturalizeNames_DotNetTypeClean ( string dataTypeDotNet ) : string
NaturalizeNames_FieldName ( DbTable table, DbColumn column, string fieldName, bool isAlreadyMember ) : string

Applies project settings to .NET data type

Applies project settings to fields name

NaturalizeNames_ForeignTableFieldName ( DbTable table, DbForeignKey foreignKey ) : string

Applies project settings to fields name

NaturalizeNames_Name_RemoveInvalidChars ( string name ) : string
NaturalizeNames_RenamingOptions ( string name, ProjectRenaming opt, bool isTable, bool isProp ) : string

NaturalizeNames_TableName_Rename ( string name ) : string

Applies project settings to tables names

NaturalizeNames_TableSchemaNameCS_Duplicate ( DbTable table, bool checkViews ) : string

NaturalizeNames_TableSchemaName_Duplicate ( DbTable table, bool checkViews ) : string

NaturalizeNames_ViewName_Rename ( string name ) : string

Applies project settings to view names

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

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

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

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

public SchemaAnalyzer ( ProjectDefinaton project, PatternProject pattern, DbDatabase database ) : System
project SalarDbCodeGenerator.DbProject.ProjectDefinaton
pattern PatternProject
database DbDatabase
Результат System