A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/api/system.data.oracleclient.oracleparameter.direction below:

OracleParameter.Direction Property (System.Data.OracleClient) | Microsoft Learn

OracleParameter.Direction Property Definition

Gets or sets a value that indicates whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.

public:
 property System::Data::ParameterDirection Direction { System::Data::ParameterDirection get(); void set(System::Data::ParameterDirection value); };
public:
 virtual property System::Data::ParameterDirection Direction { System::Data::ParameterDirection get(); void set(System::Data::ParameterDirection value); };
public System.Data.ParameterDirection Direction { get; set; }
public override System.Data.ParameterDirection Direction { get; set; }
member this.Direction : System.Data.ParameterDirection with get, set
Public Property Direction As ParameterDirection
Public Overrides Property Direction As ParameterDirection
Property Value

One of the ParameterDirection values. The default is Input.

Implements Exceptions Examples

The following example creates a OracleParameter and sets some of its properties.

Public Sub CreateOracleDbParameter()
   Dim parameter As New OracleParameter()
   parameter.ParameterName = "pDName"
   parameter.DbType = DbType.String
   parameter.Value = "ENGINEERING"
   parameter.SourceColumn = "DName"
End Sub
public void CreateOracleDbParameter()
{
   OracleParameter parameter = new OracleParameter();
   parameter.ParameterName = "pDName";
   parameter.DbType = DbType.String;
   parameter.Value = "ENGINEERING";
   parameter.SourceColumn = "DName";
}
Remarks

If the ParameterDirection is output, and execution of the associated OracleCommand does not return a value, the OracleParameter contains a null value.

Output, InputOut, and ReturnValue parameters returned by calling ExecuteReader cannot be accessed until you call Close on the OracleDataReader.

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4