C# Class nHydrate.Generator.SQLInstaller.ProjectItemGenerators.Globals

ファイルを表示 Open project: nHydrate/nHydrate

Public Methods

Method Description
AppendBusinessEntryCatch ( StringBuilder sb ) : void
AppendCreateAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
AppendModifiedAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
AppendTimestampAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
BuildPrimaryKeySelectList ( ModelRoot model, Table table, bool qualifiedNames ) : string
BuildSelectList ( Table table, ModelRoot model ) : string
BuildSelectList ( Table table, ModelRoot model, bool useFullHierarchy ) : string
BuildSelectList ( TableComponent component, ModelRoot model ) : string
DropCreateAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
DropModifiedAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
DropTimestampAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
GetColumnByKey ( ReferenceCollection referenceCollection, string columnKey ) : Column
GetColumnByName ( ReferenceCollection referenceCollection, string name ) : Column
GetDateTimeNowCode ( ModelRoot model ) : string
GetTableDatabaseName ( ModelRoot model, Table table ) : string
GetValidSearchColumns ( Table _currentTable ) : IEnumerable

Method Details

AppendBusinessEntryCatch() public static method

public static AppendBusinessEntryCatch ( StringBuilder sb ) : void
sb StringBuilder
return void

AppendCreateAudit() public static method

public static AppendCreateAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
table nHydrate.Generator.Models.Table
model nHydrate.Generator.Models.ModelRoot
sb StringBuilder
return void

AppendModifiedAudit() public static method

public static AppendModifiedAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
table nHydrate.Generator.Models.Table
model nHydrate.Generator.Models.ModelRoot
sb StringBuilder
return void

AppendTimestampAudit() public static method

public static AppendTimestampAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
table nHydrate.Generator.Models.Table
model nHydrate.Generator.Models.ModelRoot
sb StringBuilder
return void

BuildPrimaryKeySelectList() public static method

public static BuildPrimaryKeySelectList ( ModelRoot model, Table table, bool qualifiedNames ) : string
model nHydrate.Generator.Models.ModelRoot
table nHydrate.Generator.Models.Table
qualifiedNames bool
return string

BuildSelectList() public static method

public static BuildSelectList ( Table table, ModelRoot model ) : string
table nHydrate.Generator.Models.Table
model nHydrate.Generator.Models.ModelRoot
return string

BuildSelectList() public static method

public static BuildSelectList ( Table table, ModelRoot model, bool useFullHierarchy ) : string
table nHydrate.Generator.Models.Table
model nHydrate.Generator.Models.ModelRoot
useFullHierarchy bool
return string

BuildSelectList() public static method

public static BuildSelectList ( TableComponent component, ModelRoot model ) : string
component nHydrate.Generator.Models.TableComponent
model nHydrate.Generator.Models.ModelRoot
return string

DropCreateAudit() public static method

public static DropCreateAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
table nHydrate.Generator.Models.Table
model nHydrate.Generator.Models.ModelRoot
sb StringBuilder
return void

DropModifiedAudit() public static method

public static DropModifiedAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
table nHydrate.Generator.Models.Table
model nHydrate.Generator.Models.ModelRoot
sb StringBuilder
return void

DropTimestampAudit() public static method

public static DropTimestampAudit ( Table table, ModelRoot model, StringBuilder sb ) : void
table nHydrate.Generator.Models.Table
model nHydrate.Generator.Models.ModelRoot
sb StringBuilder
return void

GetColumnByKey() public static method

public static GetColumnByKey ( ReferenceCollection referenceCollection, string columnKey ) : Column
referenceCollection ReferenceCollection
columnKey string
return nHydrate.Generator.Models.Column

GetColumnByName() public static method

public static GetColumnByName ( ReferenceCollection referenceCollection, string name ) : Column
referenceCollection ReferenceCollection
name string
return nHydrate.Generator.Models.Column

GetDateTimeNowCode() public static method

public static GetDateTimeNowCode ( ModelRoot model ) : string
model nHydrate.Generator.Models.ModelRoot
return string

GetTableDatabaseName() public static method

public static GetTableDatabaseName ( ModelRoot model, Table table ) : string
model nHydrate.Generator.Models.ModelRoot
table nHydrate.Generator.Models.Table
return string

GetValidSearchColumns() public static method

public static GetValidSearchColumns ( Table _currentTable ) : IEnumerable
_currentTable nHydrate.Generator.Models.Table
return IEnumerable