|
From: Pavel (JIRA) <tr...@fi...> - 2013-05-16 11:11:11
|
NullReferenceException with Connection.GetSchema
-------------------------------------------------
Key: DNET-501
URL: http://tracker.firebirdsql.org/browse/DNET-501
Project: .NET Data provider
Issue Type: Bug
Affects Versions: 2.5.2
Environment: .NET Compact Framework 3.5 SP2/ Firebird 2.5.1
Reporter: Pavel
Assignee: Jiri Cincura
Priority: Blocker
I try to use GetSchema in FirebirdClient-NETCF-2.5.2:
command.Connection.GetSchema("Generators"); - NullReferenceException Exception
at FirebirdSql.Data.Schema.FbSchemaFactory.GetSchema(FbConnection connection, String collectionName, String[] restrictions)
at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.GetSchema(String collectionName, String[] restrictions)
at FirebirdSql.Data.FirebirdClient.FbConnection.GetSchema(String collectionName, String[] restrictions)
at FirebirdSql.Data.FirebirdClient.FbConnection.GetSchema(String collectionName)
// Also the same exception:
DataTable parmsDataTable = connection.GetSchema("procedurearameters", new string[] { null, null, spName });
return parmsDataTable.Rows.Count;
// Also the same exception:
FbCommandBuilder.DeriveParameters(command);
Tests runs on real device with WinCE 6.0
--
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
|