C# Class Habanero.Base.SourceDB

Represents a database source from which data is retrieved
Inheritance: Source
Show file Open project: Chillisoft/habanero Class Usage Examples

Public Methods

Method Description
CreateSQL ( ) : string

Creates the SQL that corresponds to this join

CreateSQL ( ISqlFormatter sqlFormatter ) : string

Creates the Sql that corresponds to this join

CreateSQL ( ISqlFormatter sqlFormatter, string>.IDictionary aliases ) : string

Creates the Sql that corresponds to this join

SourceDB ( Source source ) : System

Constructor for SourceDB

Private Methods

Method Description
GetInheritanceJoinString ( ISqlFormatter sqlFormatter, Source source, string joinString, string>.IDictionary aliases ) : string
GetJoinString ( ISqlFormatter sqlFormatter, Join join, string>.IDictionary aliases ) : string
GetJoinString ( ISqlFormatter sqlFormatter, Source source, string joinString, string>.IDictionary aliases ) : string
GetTableJoinString ( Source source, ISqlFormatter sqlFormatter, string>.IDictionary aliases ) : string

Method Details

CreateSQL() public method

Creates the SQL that corresponds to this join
public CreateSQL ( ) : string
return string

CreateSQL() public method

Creates the Sql that corresponds to this join
public CreateSQL ( ISqlFormatter sqlFormatter ) : string
sqlFormatter ISqlFormatter The formatter used to construct the appropriate Sql
return string

CreateSQL() public method

Creates the Sql that corresponds to this join
public CreateSQL ( ISqlFormatter sqlFormatter, string>.IDictionary aliases ) : string
sqlFormatter ISqlFormatter The formatter used to construct the appropriate Sql
aliases string>.IDictionary The aliases to use for table names
return string

SourceDB() public method

Constructor for SourceDB
public SourceDB ( Source source ) : System
source Source
return System