AbstractSqlFactory.BeforeConnect 方法 | |
This method gets called before connecting. This allows to adjust the connection string.
命名空间:
XSharp.Data
程序集:
XSharp.Data (在 XSharp.Data.dll 中) 版本:2.22 GA
语法 VIRTUAL METHOD BeforeConnect(
cString AS STRING,
cUser AS STRING,
cPassword AS STRING
) AS STRING
public virtual string BeforeConnect(
string cString,
string cUser,
string cPassword
)
查看代码参数
- cString
- 类型:String
Connection String. - cUser
- 类型:String
User Name (may be blank). - cPassword
- 类型:String
Pass word (may be blank).
返回值
类型:
StringThe connection string that may be altered by the factory.
实现
BeforeConnect(String, String, String)参见