__construct() 공개 메소드

public __construct ( array $BooleanExpressions, $LogicalOperator = Binary::LogicalAnd )
$BooleanExpressions array
 public function __construct(ColumnData $ColumnData)
 {
     $ConstraintExpressions = [];
     foreach ($ColumnData as $ColumnIdentifier => $Value) {
         $Column = $ColumnData->GetColumn($ColumnIdentifier);
         $ConstraintExpressions[] = Expression::BinaryOperation(Expression::Column($Column), Binary::Equality, Expression::PersistData($Column, Expression::Constant($Value)));
     }
     parent::__construct($ConstraintExpressions, Binary::LogicalAnd);
 }
 public function __construct(ForeignKey $ForeignKey)
 {
     $ReferencedColumnMap = $ForeignKey->GetReferencedColumnMap();
     $ConstraintExpressions = [];
     foreach ($ReferencedColumnMap as $PrimaryColumn) {
         $ForeignColumn = $ReferencedColumnMap[$PrimaryColumn];
         $ConstraintExpressions[] = Expression::BinaryOperation(Expression::Column($PrimaryColumn), Binary::Equality, Expression::Column($ForeignColumn));
     }
     parent::__construct($ConstraintExpressions, Binary::LogicalAnd);
 }