コード例 #1
0
 /// <summary>
 /// Registers instance of this type to <see cref="QueryProviderFactories"/>.
 /// </summary>
 internal static void Register()
 {
     QueryProviderFactories.Register <SqlConnection>("System.Data.SqlClient", new SqlServerQueryProviderFactory());
 }
コード例 #2
0
 /// <summary>
 /// Registers instance of this type to <see cref="QueryProviderFactories"/>.
 /// </summary>
 internal static void Register()
 {
     QueryProviderFactories.Register <SqlConnection>(SqlServerDataHelper.ClientId, new SqlServerQueryProviderFactory());
 }