5
MSDN göre Ancak .NET 4'te GetFactory (DbConnection) bir aşırı yük vardır eksik (DbConnection), bunu çağırmak olamaz - derleme zamanında başarısız söyleyerek:DbProviderFactories.GetFactory Yöntem
error BC30518: Overload resolution failed because no accessible 'GetFactory' can be called with these arguments:
'Public Shared Function GetFactory(providerRow As System.Data.DataRow) As System.Data.Common.DbProviderFactory': Value of type 'System.Data.Common.DbConnection' cannot be converted to 'System.Data.DataRow'.
'Public Shared Function GetFactory(providerInvariantName As String) As System.Data.Common.DbProviderFactory': Value of type 'System.Data.Common.DbConnection' cannot be converted to 'String'.
.NET FW'mde bir sorun mu var veya belgelerindeki bir yazım hatası mı?
+1 doğruladı, aynı benim için .NET 4 ile. –