Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
ExtendingSample
Components
DefaultConnectionFactory
C# 클래스 ExtendingSample.Components.DefaultConnectionFactory
Example of a real connection factory class. Note that the Type of the connection is a property of the class, so its easy to change to SqlConnection, Odbc, Oracle, MySql etc.
상속:
IConnectionFactory
파일 보기
프로젝트 열기: nats/castle-1.0.3-mono
공개 메소드들
메소드
설명
CreateConnection
( ) :
IDbConnection
DefaultConnectionFactory
(
String
connectionString
) :
System
메소드 상세
CreateConnection()
공개
메소드
public
CreateConnection
( ) :
IDbConnection
리턴
IDbConnection
DefaultConnectionFactory()
공개
메소드
public
DefaultConnectionFactory
(
String
connectionString
) :
System
connectionString
String
리턴
System