C# Class SalarDbCodeGenerator.DbProject.ProjectDbSettions

Afficher le fichier Open project: GitOffice/SalarDbCodeGenerator Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public GetConnectionString ( ) : string
Résultat string

GetNewConnection() public méthode

public GetNewConnection ( ) : DbConnection
Résultat System.Data.Common.DbConnection

GetSchemaEngine() public méthode

public GetSchemaEngine ( DbConnection dbConnection ) : ExSchemaEngine
dbConnection System.Data.Common.DbConnection
Résultat ExSchemaEngine

GetSelectedTablesList() public méthode

public GetSelectedTablesList ( ) : StringCollection
Résultat System.Collections.Specialized.StringCollection

GetSelectedViewsList() public méthode

public GetSelectedViewsList ( ) : StringCollection
Résultat System.Collections.Specialized.StringCollection

HasSelectedView() public méthode

public HasSelectedView ( ) : bool
Résultat bool

IsTableSelected() public méthode

public IsTableSelected ( string tableName ) : bool
tableName string
Résultat bool

IsViewSelected() public méthode

public IsViewSelected ( string viewName ) : bool
viewName string
Résultat bool

LoadDefaultSettings() public static méthode

public static LoadDefaultSettings ( ) : ProjectDbSettions
Résultat ProjectDbSettions

ProjectDbSettions() public méthode

public ProjectDbSettions ( ) : System
Résultat System

RefetchDatabaseCache() public méthode

Reloads tables and views list from database
public RefetchDatabaseCache ( ) : void
Résultat void

TestConnection() public méthode

Test connection if works
public TestConnection ( ) : bool
Résultat bool