public GetConnectionStringBuilder ( ) : System.Data.SqlClient.SqlConnectionStringBuilder | ||
Результат | System.Data.SqlClient.SqlConnectionStringBuilder |
//public EntityFrameworkConnectionString(string serverName, string databaseName, string entityName):this(serverName, databaseName, true, null, null, entityName) //{ //} //public EntityFrameworkConnectionString(string serverName, string databaseName, string userId, string password, string entityName) // :this(serverName, databaseName, false, userId, password, entityName) //{ //} //public EntityFrameworkConnectionString(string serverName, string databaseName, bool trustedConnection, string userId, string password, string entityName) //{ // this.trustedConnection = trustedConnection; // this.databaseName = databaseName; // this.serverName = serverName; // this.password = password; // this.userId = userId; // this.entityName = entityName; //} #endregion #region IConnectionProvider Members public string GetConnectionString() { ISqlConnection sqlprovider = new SqlConnectionString(config); SqlConnectionStringBuilder sqlBuilder = sqlprovider.GetConnectionStringBuilder(); return(BuildEntityFrameworkConnection(sqlBuilder, config.Database.EntityFrameworkEntitiesName).ToString()); }
public string GetConnectionString() { ISqlConnection sqlprovider = new SqlConnectionString(config); SqlConnectionStringBuilder sqlBuilder = sqlprovider.GetConnectionStringBuilder(); return BuildEntityFrameworkConnection(sqlBuilder, config.Database.EntityFrameworkEntitiesName).ToString(); }