C# Class Widgetsphere.Generator.ProjectItemGenerators.SelectCommand.SelectCommandGeneratedTemplate

Inheritance: BaseClassTemplate
Afficher le fichier Open project: nHydrate/nHydrate Class Usage Examples

Méthodes publiques

Méthode Description
AppendConstructor ( ) : void
AppendInitializeMethod ( ) : void
AppendMemberVariables ( ) : void
AppendUsingStatements ( ) : void
SelectCommandGeneratedTemplate ( ModelRoot model, Table currentTable ) : System

Méthodes protégées

Méthode Description
PrimaryKeyInputParameterList ( ) : string
PrimaryKeyParameterList ( ) : string

Private Methods

Méthode Description
AppendClass ( ) : void
AppendFullTemplate ( ) : void
AppendRegionPagedSelect ( ) : void
AppendRegionSearchable ( ) : void
AppendRegionSearchableSingleField ( Column column ) : void
AppendRegionSearchableSingleFieldRange ( Column column ) : void
AppendRegionSelectAll ( ) : void
AppendRegionSelectByChildTables ( ) : void

This generates a select command to get a child table from a loaded parent when the relationship is NOT based on a primary key. If the relationship is based on a primary key then the SelectBy[XXX]Pk procedure is called.

AppendRegionSelectByCustomRules ( ) : void
AppendRegionSelectByDates ( ) : void
AppendRegionSelectByForeignKeys ( ) : void
AppendRegionSelectByPks ( ) : void
AppendSearchClass ( ) : void
GenerateContent ( ) : void

Method Details

AppendConstructor() public méthode

public AppendConstructor ( ) : void
Résultat void

AppendInitializeMethod() public méthode

public AppendInitializeMethod ( ) : void
Résultat void

AppendMemberVariables() public méthode

public AppendMemberVariables ( ) : void
Résultat void

AppendUsingStatements() public méthode

public AppendUsingStatements ( ) : void
Résultat void

PrimaryKeyInputParameterList() protected méthode

protected PrimaryKeyInputParameterList ( ) : string
Résultat string

PrimaryKeyParameterList() protected méthode

protected PrimaryKeyParameterList ( ) : string
Résultat string

SelectCommandGeneratedTemplate() public méthode

public SelectCommandGeneratedTemplate ( ModelRoot model, Table currentTable ) : System
model ModelRoot
currentTable Table
Résultat System