示例#1
0
 /// <summary>
 /// Opens an instance of <see cref="Database"/> which connects to an ADO.NET data source
 /// specified in the connectionString parameter.
 /// </summary>
 /// <param name="connectionString">The connection string.</param>
 /// <returns>A <see cref="Database"/> object as a dynamic type.</returns>
 public static dynamic OpenConnection(string connectionString)
 {
     return(DatabaseOpener.OpenConnection(connectionString));
 }
示例#2
0
 public static dynamic OpenConnection(string connectionString, string providerName, string schemaName)
 {
     return(DatabaseOpener.OpenConnection(connectionString, providerName, schemaName));
 }