A number of your classes (ex. SqlCommand) are the same as those already
provided by SqlClient. So, what's the advantage of using your classes in
place of those that are built into .net? Can they be mixed and matched,
can I use a SqlClient.SqlConnection with your SqlDataTable?
dotConnect vs. SqlClient
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
These classes are not the same. They have some advantages. For example, Devart.Data.SqlServer.SqlConnection has a design-time editor. You can drag SqlConnection from Toolbox on your form and configure it with the editor. Devart.Data.SqlServer.SqlConnection works in the same way as SqlClient.SqlConnection in runtime.SRing wrote:A number of your classes (ex. SqlCommand) are the same as those already
provided by SqlClient. So, what's the advantage of using your classes in
place of those that are built into .net?
The SqlDataTable class extends the Devart.Common.DbDataTable class to provide a single object that can be used to access and update data from a data source. Actually, SqlDataTable replaces SqlConnection, SqlCommand, SqlDataAdapter, and SqlCommandBuilder classes with all-in-one class. For more information, please refer to http://www.devart.com/dotconnect/sqlser ... Table.html
No, you can't. You have to use Devart.Data.SqlServer.SqlConnection in SqlDataTable.SRing wrote:Can they be mixed and matched,
can I use a SqlClient.SqlConnection with your SqlDataTable?
For more information about dotConnect for SQL Server advantages, please refer to http://www.devart.com/dotconnect/sqlserver/