Skip to main content

SqlQuery

Version: 7.0

cete.dynamicpdf.reportwriter.data.sqlquery

SqlQuery​

Represents a SQL query.

public class SqlQuery : Query
Public Class SqlQuery
Inherits Query

Inheritance: Object → Query → SqlQuery

Licensing​

This class is a DynamicPDF ReportWriter Professional Edition feature. One of the following licenses is required for non-evaluation usage:

  • DynamicPDF ReportWriter for .NET Professional Edition
  • DynamicPDF ReportWriter for .NET Enterprise Edition
  • DynamicPDF Core Suite for .NET Professional Edition
  • DynamicPDF Core Suite for .NET Enterprise Edition

Properties​

ConnectionString​

Gets or sets the connection string of the query.

public string ConnectionString { get; set; }
Public Property ConnectionString As String

Property Value​

String

Id​

Gets the unique ID for the query. (Inherited from Query)

public string Id { get; }
Public Property Id As String

Property Value​

String

ProviderType​

Gets or sets the ProviderType of the query.

public ProviderType ProviderType { get; set; }
Public Property ProviderType As ProviderType

Property Value​

ProviderType

Sql​

Gets or sets the SQL statement.

public string Sql { get; set; }
Public Property Sql As String

Property Value​

String

Methods​

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

Events​

ClosingRecordSet​

Occurs when the recordset is closing. (Inherited from Query)

public event ClosingRecordSetEventHandler SqlQuery.ClosingRecordSet;
Public Event SqlQuery.ClosingRecordSet As ClosingRecordSetEventHandler

Event Handler​

ClosingRecordSetEventHandler

OpeningRecordSet​

Occurs when the recordset is opening. (Inherited from Query)

public event OpeningRecordSetEventHandler SqlQuery.OpeningRecordSet;
Public Event SqlQuery.OpeningRecordSet As OpeningRecordSetEventHandler

Event Handler​

OpeningRecordSetEventHandler

See Also​

ceTe.DynamicPDF.ReportWriter.Data