C# Class Simple.Generator.TableTemplateBase

Inheritance: Simple.NVelocity.SimpleTemplate, ITableTemplate
Show file Open project: juanplopes/simple

Public Methods

Method Description
As ( string type ) : ITableTemplate
Create ( DbTable table ) : void
Delete ( string className ) : void
SetOverwrite ( bool value ) : ITableTemplate
TableTemplateBase ( string template ) : System
Target ( ProjectFileWriter project, string file ) : ITableTemplate

Protected Methods

Method Description
GetConventions ( ) : ITableConventions
SetTemplate ( DbTable table ) : void

Method Details

As() public method

public As ( string type ) : ITableTemplate
type string
return ITableTemplate

Create() public method

public Create ( DbTable table ) : void
table Simple.Metadata.DbTable
return void

Delete() public method

public Delete ( string className ) : void
className string
return void

GetConventions() protected abstract method

protected abstract GetConventions ( ) : ITableConventions
return ITableConventions

SetOverwrite() public method

public SetOverwrite ( bool value ) : ITableTemplate
value bool
return ITableTemplate

SetTemplate() protected abstract method

protected abstract SetTemplate ( DbTable table ) : void
table Simple.Metadata.DbTable
return void

TableTemplateBase() public method

public TableTemplateBase ( string template ) : System
template string
return System

Target() public method

public Target ( ProjectFileWriter project, string file ) : ITableTemplate
project ProjectFileWriter
file string
return ITableTemplate