Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Data.BinaryNode Class Reference

Protected Member Functions

void BindTable (DataTable table)
 

Package Functions

 BinaryNode (DataTable table, int op, ExpressionNode left, ExpressionNode right)
 
override void Bind (DataTable table, List< DataColumn > list)
 
override object Eval ()
 
override object Eval (DataRow row, DataRowVersion version)
 
override object Eval (int[] recordNos)
 
override bool IsConstant ()
 
override bool IsTableConstant ()
 
override bool HasLocalAggregate ()
 
override bool HasRemoteAggregate ()
 
override bool DependsOn (DataColumn column)
 
override ExpressionNode Optimize ()
 
void SetTypeMismatchError (int op, Type left, Type right)
 
int BinaryCompare (object vLeft, object vRight, StorageType resultType, int op)
 
int BinaryCompare (object vLeft, object vRight, StorageType resultType, int op, CompareInfo comparer)
 
StorageType ResultType (StorageType left, StorageType right, bool lc, bool rc, int op)
 
StorageType ResultSqlType (StorageType left, StorageType right, bool lc, bool rc, int op)
 

Static Package Functions

static bool IsInteger (StorageType type)
 
static bool IsIntegerSql (StorageType type)
 
static bool IsSigned (StorageType type)
 
static bool IsSignedSql (StorageType type)
 
static bool IsUnsigned (StorageType type)
 
static bool IsUnsignedSql (StorageType type)
 
static bool IsNumeric (StorageType type)
 
static bool IsNumericSql (StorageType type)
 
static bool IsFloat (StorageType type)
 
static bool IsFloatSql (StorageType type)
 

Package Attributes

int _op
 
ExpressionNode _left
 
ExpressionNode _right
 

Properties

IFormatProvider FormatProvider [get]
 
virtual bool IsSqlColumn [get]
 
DataTable table [get]
 

Private Types

enum  DataTypePrecedence {
  SqlDateTime = 25 , DateTimeOffset = 24 , DateTime = 23 , TimeSpan = 20 ,
  SqlDouble = 19 , Double = 18 , SqlSingle = 17 , Single = 16 ,
  SqlDecimal = 15 , Decimal = 14 , SqlMoney = 13 , UInt64 = 12 ,
  SqlInt64 = 11 , Int64 = 10 , UInt32 = 9 , SqlInt32 = 8 ,
  Int32 = 7 , UInt16 = 6 , SqlInt16 = 5 , Int16 = 4 ,
  Byte = 3 , SqlByte = 2 , SByte = 1 , Error = 0 ,
  SqlBoolean = -1 , Boolean = -2 , SqlGuid = -3 , SqlString = -4 ,
  String = -5 , SqlXml = -6 , SqlChars = -7 , Char = -8 ,
  SqlBytes = -9 , SqlBinary = -10
}
 

Private Member Functions

object EvalConstant ()
 
object EvalBinaryOp (int op, ExpressionNode left, ExpressionNode right, DataRow row, DataRowVersion version, int[] recordNos)
 
DataTypePrecedence GetPrecedence (StorageType storageType)
 
bool IsMixed (StorageType left, StorageType right)
 
bool IsMixedSql (StorageType left, StorageType right)
 
int SqlResultType (int typeCode)
 

Static Private Member Functions

static object Eval (ExpressionNode expr, DataRow row, DataRowVersion version, int[] recordNos)
 
static StorageType GetPrecedenceType (DataTypePrecedence code)
 

Private Attributes

DataTable _table
 

Detailed Description

Definition at line 9 of file BinaryNode.cs.


The documentation for this class was generated from the following file: