C# 클래스 DataAccessModule.SQLServerConnect

상속: DAConnect
파일 보기 프로젝트 열기: jasonhuber/devryweb460store 1 사용 예제들

공개 메소드들

메소드 설명
GetConnectionString ( ) : string
ReadConfiguration ( string P_configFile ) : void

This method will read the configuration file and set all the internal attributes needed to process the file.

SQLServerConnect ( string P_configFile ) : System
SetupConnectionString ( string P_connectStr ) : void

Set the complete connection string

SetupConnectionString ( string P_server, string P_database ) : void

This is the conncetion string for an Integrated Security connection

SetupConnectionString ( string P_user, string P_password, string P_server, string P_database ) : void

This method will get the connection information and store it for later use.

메소드 상세

GetConnectionString() 공개 메소드

public GetConnectionString ( ) : string
리턴 string

ReadConfiguration() 공개 메소드

This method will read the configuration file and set all the internal attributes needed to process the file.
public ReadConfiguration ( string P_configFile ) : void
P_configFile string /// Fully qualifed path to the configuration file ///
리턴 void

SQLServerConnect() 공개 메소드

public SQLServerConnect ( string P_configFile ) : System
P_configFile string
리턴 System

SetupConnectionString() 공개 메소드

Set the complete connection string
public SetupConnectionString ( string P_connectStr ) : void
P_connectStr string /// Full connection string to use ///
리턴 void

SetupConnectionString() 공개 메소드

This is the conncetion string for an Integrated Security connection
public SetupConnectionString ( string P_server, string P_database ) : void
P_server string /// Name of the server ///
P_database string /// name of database ///
리턴 void

SetupConnectionString() 공개 메소드

This method will get the connection information and store it for later use.
public SetupConnectionString ( string P_user, string P_password, string P_server, string P_database ) : void
P_user string /// User name used to connect to the database ///
P_password string /// Password to connect to the database with ///
P_server string /// Name of the server where the database is ///
P_database string /// Name of the database to use when connected ///
리턴 void