Neoview ADO.NET Provider Manual (R2.5)
Clarifications
• The DataSource property returns the server data source name (that is,
TDM_Default_DataSource).
• The Database property and the ChangeDatabase method are equivalent to getting or
setting the current catalog in Neoview. Currently, the only catalog available is NEO.
Limitations
• The Neoview platform does not support multiple transactions on a single connection.
• If BeginTransaction is called when there is already an active transaction, ADO.NET
Provider throws an exception.
NeoviewCommand
Additional Methods and Properties
• Label returns the statement label.
• RowsAffected returns the long value for the total number of rows updated, deleted or
inserted for this transaction.
Limitations
• Neoview does not support multiple transactions per connection. Setting the Transaction
property has no effect because NeoviewCommand always inherits the Transaction property
of its current Connection property.
• Neoview does not support CommandType.DirectTable. If you attempt to set this command
type, ADO.NET Provider returns an exception.
• Neoview does not support CommandBehavior.SequentialAccess, and ignores it if
used.
• Neoview treats the CommandType.Text and CommandType.StoredProcedure commands
identically. You can use them interchangeably.
NeoviewDataReader
Limitations
• Neoview does not support Boolean or Guid types. Using these methods results in an
“invalid cast”exception.
NeoviewFactory
Clarifications
• CanCreateDataSourceEnumerator always returns false because the ADO.NET
Provider does not support client-side data sources.
Tracing for ADO.NET on the Neoview Platform
The ADO.NET provider includes a tracing function to enable you to better diagnose problems
by displaying errors, warnings, calls to the provider, and connectivity events. Support for tracing
in the ADO.NET provider is controlled through the Microsoft .NET configuration framework.
For more information about tracing and the .NET framework, see (http://msdn.microsoft.com/
en-us/library/aa719748(v=VS.71).aspx).
Tracing is disabled by default. Enable tracing to aid in problem-solving.
20 ADO.NET for Neoview