C# Class SalarDbCodeGenerator.DbProject.ProjectDbSettions

Datei anzeigen Open project: GitOffice/SalarDbCodeGenerator Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetConnectionString ( ) : string
GetNewConnection ( ) : DbConnection
GetSchemaEngine ( DbConnection dbConnection ) : ExSchemaEngine
GetSelectedTablesList ( ) : StringCollection
GetSelectedViewsList ( ) : StringCollection
HasSelectedView ( ) : bool
IsTableSelected ( string tableName ) : bool
IsViewSelected ( string viewName ) : bool
LoadDefaultSettings ( ) : ProjectDbSettions
ProjectDbSettions ( ) : System
RefetchDatabaseCache ( ) : void

Reloads tables and views list from database

TestConnection ( ) : bool

Test connection if works

Method Details

GetConnectionString() public method

public GetConnectionString ( ) : string
return string

GetNewConnection() public method

public GetNewConnection ( ) : DbConnection
return System.Data.Common.DbConnection

GetSchemaEngine() public method

public GetSchemaEngine ( DbConnection dbConnection ) : ExSchemaEngine
dbConnection System.Data.Common.DbConnection
return ExSchemaEngine

GetSelectedTablesList() public method

public GetSelectedTablesList ( ) : StringCollection
return System.Collections.Specialized.StringCollection

GetSelectedViewsList() public method

public GetSelectedViewsList ( ) : StringCollection
return System.Collections.Specialized.StringCollection

HasSelectedView() public method

public HasSelectedView ( ) : bool
return bool

IsTableSelected() public method

public IsTableSelected ( string tableName ) : bool
tableName string
return bool

IsViewSelected() public method

public IsViewSelected ( string viewName ) : bool
viewName string
return bool

LoadDefaultSettings() public static method

public static LoadDefaultSettings ( ) : ProjectDbSettions
return ProjectDbSettions

ProjectDbSettions() public method

public ProjectDbSettions ( ) : System
return System

RefetchDatabaseCache() public method

Reloads tables and views list from database
public RefetchDatabaseCache ( ) : void
return void

TestConnection() public method

Test connection if works
public TestConnection ( ) : bool
return bool