OracleBoolean OracleBoolean OracleBoolean 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
OracleBooleanOracleBooleanOracleBooleanOracleBoolean
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) OracleBoolean(Boolean) OracleBoolean(Boolean) OracleBoolean(Boolean)

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

OracleBoolean(Int32) OracleBoolean(Int32) OracleBoolean(Int32) OracleBoolean(Int32)

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

Fields

False False False False

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

Null Null Null Null

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

One One One One

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

True True True True

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

Zero Zero Zero Zero

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

Properties

IsFalse IsFalse IsFalse IsFalse

Indicates whether the current Value is False.

IsNull IsNull IsNull IsNull

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

IsTrue IsTrue IsTrue IsTrue

Indicates whether the current Value is True.

Value Value Value Value

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

Methods

And(OracleBoolean, OracleBoolean) And(OracleBoolean, OracleBoolean) And(OracleBoolean, OracleBoolean) And(OracleBoolean, OracleBoolean)

Computes the bitwise AND of two specified OracleBoolean structures.

CompareTo(Object) CompareTo(Object) CompareTo(Object) CompareTo(Object)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the supplied object parameter to the OracleBoolean.

Equals(OracleBoolean, OracleBoolean) Equals(OracleBoolean, OracleBoolean) Equals(OracleBoolean, OracleBoolean) Equals(OracleBoolean, OracleBoolean)

Compares two OracleBoolean structures to determine if they are equal.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this instance.

NotEquals(OracleBoolean, OracleBoolean) NotEquals(OracleBoolean, OracleBoolean) NotEquals(OracleBoolean, OracleBoolean) NotEquals(OracleBoolean, OracleBoolean)

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

OnesComplement(OracleBoolean) OnesComplement(OracleBoolean) OnesComplement(OracleBoolean) OnesComplement(OracleBoolean)

Performs a ones complement operation on the supplied OracleBoolean structures.

Or(OracleBoolean, OracleBoolean) Or(OracleBoolean, OracleBoolean) Or(OracleBoolean, OracleBoolean) Or(OracleBoolean, OracleBoolean)

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

Parse(String) Parse(String) Parse(String) Parse(String)

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

ToString() ToString() ToString() ToString()

Converts the current Value to a string.

Xor(OracleBoolean, OracleBoolean) Xor(OracleBoolean, OracleBoolean) Xor(OracleBoolean, OracleBoolean) Xor(OracleBoolean, OracleBoolean)

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

Operators

BitwiseAnd(OracleBoolean, OracleBoolean) BitwiseAnd(OracleBoolean, OracleBoolean) BitwiseAnd(OracleBoolean, OracleBoolean) BitwiseAnd(OracleBoolean, OracleBoolean)

Computes the bitwise AND of two specified OracleBoolean structures.

BitwiseOr(OracleBoolean, OracleBoolean) BitwiseOr(OracleBoolean, OracleBoolean) BitwiseOr(OracleBoolean, OracleBoolean) BitwiseOr(OracleBoolean, OracleBoolean)

Computes the bitwise OR of its two OracleBoolean operands.

Equality(OracleBoolean, OracleBoolean) Equality(OracleBoolean, OracleBoolean) Equality(OracleBoolean, OracleBoolean) Equality(OracleBoolean, OracleBoolean)

Compares two instances of an OracleBoolean for equality.

ExclusiveOr(OracleBoolean, OracleBoolean) ExclusiveOr(OracleBoolean, OracleBoolean) ExclusiveOr(OracleBoolean, OracleBoolean) ExclusiveOr(OracleBoolean, OracleBoolean)

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

Explicit(OracleBoolean to Boolean) Explicit(OracleBoolean to Boolean) Explicit(OracleBoolean to Boolean) Explicit(OracleBoolean to Boolean)

Converts an OracleBoolean to a Boolean.

Explicit(OracleNumber to OracleBoolean) Explicit(OracleNumber to OracleBoolean) Explicit(OracleNumber to OracleBoolean) Explicit(OracleNumber to OracleBoolean)

Converts the OracleNumber parameter to an OracleBoolean structure.

Explicit(String to OracleBoolean) Explicit(String to OracleBoolean) Explicit(String to OracleBoolean) Explicit(String to OracleBoolean)

Converts a string to an OracleBoolean structure.

False(OracleBoolean) False(OracleBoolean) False(OracleBoolean) False(OracleBoolean)

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

Implicit(Boolean to OracleBoolean) Implicit(Boolean to OracleBoolean) Implicit(Boolean to OracleBoolean) Implicit(Boolean to OracleBoolean)

Converts a Boolean value to an OracleBoolean.

Inequality(OracleBoolean, OracleBoolean) Inequality(OracleBoolean, OracleBoolean) Inequality(OracleBoolean, OracleBoolean) Inequality(OracleBoolean, OracleBoolean)

Compares two instances of OracleBoolean for inequality.

LogicalNot(OracleBoolean) LogicalNot(OracleBoolean) LogicalNot(OracleBoolean) LogicalNot(OracleBoolean)

Performs a NOT operation on an OracleBoolean.

OnesComplement(OracleBoolean) OnesComplement(OracleBoolean) OnesComplement(OracleBoolean) OnesComplement(OracleBoolean)

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

True(OracleBoolean) True(OracleBoolean) True(OracleBoolean) True(OracleBoolean)

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

Applies to