The PgSqlDataTable 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, PgSqlDataTable replaces PgSqlConnection, PgSqlCommand, PgSqlDataAdapter, and PgSqlCommandBuilder classes with all-in-one class. When a PgSqlDataTable object is created, the default values of its constituent parts are set to reasonable defaults, meaning that the programmer can create a single object and immediately use it to retrieve and manipulate data from a data source.
By using PgSqlDataTable you can avoid explicit creation of PgSqlConnection and PgSqlCommand objects. When appropriate form of constructor is used, these objects are created automatically when you retrieve data from a data source. It allows you to cut down the size of the written code.
PgSqlDataTable allows you to automate loading of subsets of data either by selecting Devart.Common.DbTable.StartRecord and MaxRecords properties or by using Fill or FillPage methods that support passing parameter values into the query text.
The PgSqlDataTable class is designed to employ both connected and disconnected data access models. It also provides functionality for asynchronous fill operations.
The PgSqlDataTable class can be fully adjusted at design-time. You may retrieve data at design-time from a data source by setting Devart.Common.DbTable.Active property to true.
For more information on advanced features of PgSqlDataTable please refer to topic PgSqlDataTable Advanced Features.
This class supports cross-form data binding with the InterForm Technology.
Note: This class is not available in .NET Standard 1.3 compatible assembly. It is available only in the assembly for full .NET Framework and .NET Standard 2.0 compatible assemblies.
This class is available only in Professional Edition. It is not available in Standard and Mobile Editions.
System.Object
System.ComponentModel.MarshalByValueComponent
System.Data.DataTable
Devart.Common.DbDataTable
Devart.Data.PostgreSql.PgSqlDataTable