Oracle Database@Google Cloud v1 API - Class SqlParameter (1.10.0)

public sealed class SqlParameter : IMessage<SqlParameter>, IEquatable<SqlParameter>, IDeepCloneable<SqlParameter>, IBufferMessage, IMessage

Reference documentation and code samples for the Oracle Database@Google Cloud v1 API class SqlParameter.

Represents a bind variable (parameter) for SQL execution.

Inheritance

object > SqlParameter

Namespace

Google.Cloud.OracleDatabase.V1

Assembly

Google.Cloud.OracleDatabase.V1.dll

Constructors

SqlParameter()

public SqlParameter()

SqlParameter(SqlParameter)

public SqlParameter(SqlParameter other)
Parameter
Name Description
other SqlParameter

Properties

Name

public string Name { get; set; }

Optional. The name of the SQL bind parameter (excluding the leading colon, e.g. "id"). If omitted, parameters bind positionally based on their order in the list.

Property Value
Type Description
string

TypeName

public string TypeName { get; set; }

Optional. Optional: Datatype hint for the parameter (e.g., "VARCHAR2", "NUMBER", "DATE", "TIMESTAMP"). If omitted, the Oracle driver will infer the type from the value string.

Property Value
Type Description
string

Value

public Value Value { get; set; }

Required. Use protobuf.Value so clients can pass ints, bools, and strings natively.

Property Value
Type Description
Value