C# Class Widgetsphere.Generator.ProjectItemGenerators.SQLStoredProcedureAll.SQLSelectBusinessObjectByForeignKeyTemplate

Inheritance: ISQLGenerate
Mostrar archivo Open project: nHydrate/nHydrate Class Usage Examples

Public Methods

Method Description
GenerateContent ( StringBuilder sb ) : void
SQLSelectBusinessObjectByForeignKeyTemplate ( ModelRoot model, Relation currentRelation, Table realTable ) : System

Protected Methods

Method Description
BuildWhereStatement ( Relation _currentRelation, Table parentTable ) : string
SelfReferencePrimaryKeyDatabaseType ( ) : string

Private Methods

Method Description
AppendFullTemplate ( StringBuilder sb ) : void
CreateProcedure ( StringBuilder sb, Table parentTable ) : void
GetStoredProcedureName ( Table parentTable ) : string

Method Details

BuildWhereStatement() protected method

protected BuildWhereStatement ( Relation _currentRelation, Table parentTable ) : string
_currentRelation Relation
parentTable Table
return string

GenerateContent() public method

public GenerateContent ( StringBuilder sb ) : void
sb StringBuilder
return void

SQLSelectBusinessObjectByForeignKeyTemplate() public method

public SQLSelectBusinessObjectByForeignKeyTemplate ( ModelRoot model, Relation currentRelation, Table realTable ) : System
model ModelRoot
currentRelation Relation
realTable Table
return System

SelfReferencePrimaryKeyDatabaseType() protected method

protected SelfReferencePrimaryKeyDatabaseType ( ) : string
return string