📄 npgsql.xml
字号:
This class represents the Bind message sent to PostgreSQL
server.
</summary>
</member>
<member name="T:Npgsql.NpgsqlCommand">
<summary>
Represents a SQL statement or function (stored procedure) to execute
against a PostgreSQL database. This class cannot be inherited.
</summary>
</member>
<member name="M:Npgsql.NpgsqlCommand.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class.
</summary>
</member>
<member name="M:Npgsql.NpgsqlCommand.#ctor(System.String)">
<summary>
Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class with the text of the query.
</summary>
<param name="cmdText">The text of the query.</param>
</member>
<member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnection)">
<summary>
Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class with the text of the query and a <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see>.
</summary>
<param name="cmdText">The text of the query.</param>
<param name="connection">A <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> that represents the connection to a PostgreSQL server.</param>
</member>
<member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnection,Npgsql.NpgsqlTransaction)">
<summary>
Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class with the text of the query, a <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see>, and the <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see>.
</summary>
<param name="cmdText">The text of the query.</param>
<param name="connection">A <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> that represents the connection to a PostgreSQL server.</param>
<param name="transaction">The <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> in which the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> executes.</param>
</member>
<member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnector)">
<summary>
Used to execute internal commands.
</summary>
</member>
<member name="M:Npgsql.NpgsqlCommand.Cancel">
<summary>
Attempts to cancel the execution of a <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>.
</summary>
<remarks>This Method isn't implemented yet.</remarks>
</member>
<member name="M:Npgsql.NpgsqlCommand.System#ICloneable#Clone">
<summary>
Create a new command based on this one.
</summary>
<returns>A new NpgsqlCommand object.</returns>
</member>
<member name="M:Npgsql.NpgsqlCommand.Clone">
<summary>
Create a new connection based on this one.
</summary>
<returns>A new NpgsqlConnection object.</returns>
</member>
<member name="M:Npgsql.NpgsqlCommand.System#Data#IDbCommand#CreateParameter">
<summary>
Creates a new instance of an <see cref="T:System.Data.IDbDataParameter">IDbDataParameter</see> object.
</summary>
<returns>An <see cref="T:System.Data.IDbDataParameter">IDbDataParameter</see> object.</returns>
</member>
<member name="M:Npgsql.NpgsqlCommand.CreateParameter">
<summary>
Creates a new instance of a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.
</summary>
<returns>A <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns>
</member>
<member name="M:Npgsql.NpgsqlCommand.ExecuteNonQuery">
<summary>
Executes a SQL statement against the connection and returns the number of rows affected.
</summary>
<returns>The number of rows affected.</returns>
</member>
<member name="M:Npgsql.NpgsqlCommand.System#Data#IDbCommand#ExecuteReader">
<summary>
Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to
the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a
<see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see>.
</summary>
<returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns>
</member>
<member name="M:Npgsql.NpgsqlCommand.System#Data#IDbCommand#ExecuteReader(System.Data.CommandBehavior)">
<summary>
Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to
the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a
<see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see>
using one of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values.
</summary>
<param name="cb">One of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values.</param>
<returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns>
</member>
<member name="M:Npgsql.NpgsqlCommand.ExecuteReader">
<summary>
Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to
the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a
<see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see>.
</summary>
<returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns>
</member>
<member name="M:Npgsql.NpgsqlCommand.ExecuteReader(System.Data.CommandBehavior)">
<summary>
Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to
the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a
<see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see>
using one of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values.
</summary>
<param name="cb">One of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values.</param>
<returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns>
<remarks>Currently the CommandBehavior parameter is ignored.</remarks>
</member>
<member name="M:Npgsql.NpgsqlCommand.BindParameters">
<summary>
This method binds the parameters from parameters collection to the bind
message.
</summary>
</member>
<member name="M:Npgsql.NpgsqlCommand.ExecuteScalar">
<summary>
Executes the query, and returns the first column of the first row
in the result set returned by the query. Extra columns or rows are ignored.
</summary>
<returns>The first column of the first row in the result set,
or a null reference if the result set is empty.</returns>
</member>
<member name="M:Npgsql.NpgsqlCommand.Prepare">
<summary>
Creates a prepared version of the command on a PostgreSQL server.
</summary>
</member>
<member name="M:Npgsql.NpgsqlCommand.CheckConnectionState">
<summary>
This method checks the connection state to see if the connection
is set or it is open. If one of this conditions is not met, throws
an InvalidOperationException
</summary>
</member>
<member name="M:Npgsql.NpgsqlCommand.GetCommandText">
<summary>
This method substitutes the <see cref="P:Npgsql.NpgsqlCommand.Parameters">Parameters</see>, if exist, in the command
to their actual values.
The parameter name format is <b>:ParameterName</b>.
</summary>
<returns>A version of <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> with the <see cref="P:Npgsql.NpgsqlCommand.Parameters">Parameters</see> inserted.</returns>
</member>
<member name="M:Npgsql.NpgsqlCommand.ProcessRefcursorFunctionReturn(System.String)">
<summary>
This methods takes a string with a function call witch returns a refcursor or a set of
refcursor. It will return the names of the open cursors/portals which will hold
results. In turn, it returns the string which is needed to get the data of this cursors
in form of one resultset for each cursor open. This way, clients don't need to do anything
else besides calling function normally to get results in this way.
</summary>
</member>
<member name="P:Npgsql.NpgsqlCommand.CommandText">
<summary>
Gets or sets the SQL statement or function (stored procedure) to execute at the data source.
</summary>
<value>The Transact-SQL statement or stored procedure to execute. The default is an empty string.</value>
</member>
<member name="P:Npgsql.NpgsqlCommand.CommandTimeout">
<summary>
Gets or sets the wait time before terminating the attempt
to execute a command and generating an error.
</summary>
<value>The time (in seconds) to wait for the command to execute.
The default is 20 seconds.</value>
</member>
<member name="P:Npgsql.NpgsqlCommand.CommandType">
<summary>
Gets or sets a value indicating how the
<see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> property is to be interpreted.
</summary>
<value>One of the <see cref="T:System.Data.CommandType">CommandType</see> values. The default is <see cref="T:System.Data.CommandType">CommandType.Text</see>.</value>
</member>
<member name="P:Npgsql.NpgsqlCommand.Connection">
<summary>
Gets or sets the <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see>
used by this instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>.
</summary>
<value>The connection to a data source. The default value is a null reference.</value>
</member>
<member name="P:Npgsql.NpgsqlCommand.Parameters">
<summary>
Gets the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see>.
</summary>
<value>The parameters of the SQL statement or function (stored procedure). The default is an empty collection.</value>
</member>
<member name="P:Npgsql.NpgsqlCommand.Transaction">
<summary>
Gets or sets the <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see>
within which the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> executes.
</summary>
<value>The <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see>.
The default value is a null reference.</value>
</member>
<member name="P:Npgsql.NpgsqlCommand.UpdatedRowSource">
<summary>
Gets or sets how command results are applied to the <see cref="T:System.Data.DataRow">DataRow</see>
when used by the <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)">Update</see>
method of the <see cref="T:System.Data.Common.DbDataAdapter">DbDataAdapter</see>.
</summary>
<value>One of the <see cref="T:System.Data.UpdateRowSource">UpdateRowSource</see> values.</value>
</member>
<member name="T:Npgsql.NoticeEventHandler">
<summary>
Represents the method that handles the <see cref="E:Npgsql.NpgsqlConnection.Notification">Notice</see> events.
</summary>
<param name="e">A <see cref="T:Npgsql.NpgsqlNoticeEventArgs">NpgsqlNoticeEventArgs</see> that contains the event data.</param>
</member>
<member name="T:Npgsql.NotificationEventHandler">
<summary>
Represents the method that handles the <see cref="E:Npgsql.NpgsqlConnection.Notification">Notification</see> events.
</summary>
<param name="sender">The source of the event.</param>
<param name="e">A <see cref="T:Npgsql.NpgsqlNotificationEventArgs">NpgsqlNotificationEventArgs</see> that contains the event data.</param>
</member>
<member name="T:Npgsql.NpgsqlConnection">
<summary>
This class represents a connection to a
PostgreSQL server.
</summary>
</member>
<member name="M:Npgsql.NpgsqlConnection.#ctor">
<summary>
Initializes a new instance of the
<see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> class.
</summary>
</member>
<member name="M:Npgsql.NpgsqlConnection.#ctor(System.String)">
<summary>
Initializes a new instance of the
<see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> class
and sets the <see cref="P:Npgsql.NpgsqlConnection.ConnectionString">ConnectionString</see>.
</summary>
<param name="ConnectionString">The connection used to open the PostgreSQL database.</param>
</member>
<member name="M:Npgsql.NpgsqlConnection.System#Data#IDbConnection#BeginTransaction">
<summary>
Begins a database transaction.
</summary>
<returns>An <see cref="T:System.Data.IDbTransaction">IDbTransaction</see>
object representing the new transaction.</returns>
<remarks>
Currently there's no support for nested transactions.
</remarks>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -