Редактиране

Споделяне чрез


OracleBoolean Struct

Definition

Represents the value returned from a database comparison operation between Oracle data types, and exposes methods used to perform data type conversions.

public value class OracleBoolean : IComparable
public struct OracleBoolean : IComparable
type OracleBoolean = struct
Public Structure OracleBoolean
Implements IComparable
Inheritance
OracleBoolean
Implements

Remarks

The key difference between an OracleBoolean structure and a standard Boolean value is that, where a standard Boolean has two possible values, true and false, an OracleBoolean structure has three possible values, True, False, or Null.

An OracleBoolean structure does not map to an Oracle Boolean data type; it is exposed as a convenience support class.

Constructors

OracleBoolean(Boolean)

Initializes a new instance of the OracleBoolean structure using the specified Boolean.

OracleBoolean(Int32)

Initializes a new instance of the OracleBoolean structure using the specified integer.

Fields

False

Represents a false value that can be assigned to the Value property of an instance of the OracleBoolean structure.

Null

Represents a null value that can be assigned to the Value property of an instance of the OracleBoolean structure.

One

Represents a value of one that can be assigned to the Value property of an instance of the OracleBoolean structure.

True

Represents a true value that can be assigned to the Value property of an instance of the OracleBoolean structure.

Zero

Represents a value of zero that can be assigned to the Value property of an instance of the OracleBoolean structure.

Properties

IsFalse

Indicates whether the current Value is False.

IsNull

Indicates whether or not the value of the OracleBoolean structure is null.

IsTrue

Indicates whether the current Value is True.

Value

Gets the OracleBoolean structure's value. This property is read-only.

Methods

And(OracleBoolean, OracleBoolean)

Computes the bitwise AND of two specified OracleBoolean structures.

CompareTo(Object)

Compares this OracleBoolean structure to a specified object and returns an indication of their relative values.

Equals(Object)

Compares the supplied object parameter to the OracleBoolean.

Equals(OracleBoolean, OracleBoolean)

Compares two OracleBoolean structures to determine if they are equal.

GetHashCode()

Returns the hash code for this instance.

NotEquals(OracleBoolean, OracleBoolean)

Compares two instances of OracleBoolean to determine if they are not equal.

OnesComplement(OracleBoolean)

Performs a ones complement operation on the supplied OracleBoolean structures.

Or(OracleBoolean, OracleBoolean)

Performs a bitwise OR operation on the two specified OracleBoolean structures.

Parse(String)

Converts the specified String representation of a logical value to its OracleBoolean equivalent.

ToString()

Converts the current Value to a string.

Xor(OracleBoolean, OracleBoolean)

Performs a bitwise exclusive-OR operation on the supplied parameters.

Operators

BitwiseAnd(OracleBoolean, OracleBoolean)

Computes the bitwise AND of two specified OracleBoolean structures.

BitwiseOr(OracleBoolean, OracleBoolean)

Computes the bitwise OR of its two OracleBoolean operands.

Equality(OracleBoolean, OracleBoolean)

Compares two instances of an OracleBoolean for equality.

ExclusiveOr(OracleBoolean, OracleBoolean)

Performs a bitwise exclusive-OR operation on the supplied OracleBoolean parameters.

Explicit(OracleBoolean to Boolean)

Converts an OracleBoolean to a Boolean.

Explicit(OracleNumber to OracleBoolean)

Converts the OracleNumber parameter to an OracleBoolean structure.

Explicit(String to OracleBoolean)

Converts a string to an OracleBoolean structure.

False(OracleBoolean)

Used to test the Value of the OracleBoolean to determine whether it is false.

Implicit(Boolean to OracleBoolean)

Converts a Boolean value to an OracleBoolean.

Inequality(OracleBoolean, OracleBoolean)

Compares two instances of OracleBoolean for inequality.

LogicalNot(OracleBoolean)

Performs a NOT operation on an OracleBoolean.

OnesComplement(OracleBoolean)

Performs a one's complement operation on the specified OracleBoolean.

True(OracleBoolean)

Used to test the Value of the OracleBoolean to determine whether it is true.

Applies to