ADO.NET Provider does not work with DbProviderFactories from System.Data.Common -------------------------------------------------------------------------------
Key: DNET-130 URL: http://tracker.firebirdsql.org/browse/DNET-130 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 2.1.0 RC 2, 2.0.1 Environment: Windows XP .Net 1.1, 2.0 3.0 Reporter: José Augusto Guimarães Assignee: Carlos Guzman Alvarez Priority: Critical ADO.NET Provider does not work with DbProviderFactories from System.Data.Common Code to teste on .Net 2.0: ' Form with 2 components ' DataGridViewProviderClass show Firebird on the List ' ListBoxProviders show DbProviderFactories sucssesful Loaded (Firebirdsql Not) ' email:[EMAIL PROTECTED] ' Please email to me when ok Imports System.Data.Common Imports System.Windows.Forms Public Class FormTesteProvider Public Function GetFactoriesTable() As DataTable Return DbProviderFactories.GetFactoryClasses() End Function Public Function GetFactoriesList() As List(Of String) Dim Factories As New List(Of String) Dim FactoriesTable As DataTable = DbProviderFactories.GetFactoryClasses() For Each FactoryRow As DataRow In FactoriesTable.Rows Try Dim DbProvider As DbProviderFactory = DbProviderFactories.GetFactory(FactoryRow) Factories.Add(FactoryRow.Item(2).ToString) Catch ex1 As Exception End Try Next Return Factories End Function Private Sub FormTesteProvider_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load DataGridViewProviderClass.DataSource = GetFactoriesTable() ListBoxProviders.Items.AddRange(GetFactoriesList().ToArray) End Sub End Class -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider