Here are the examples of the csharp api class System.Data.Common.CommandTrees.DbExpression.IsEmpty() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
1. Example
View licenseprotected override CqtExpression TranslateUnary(ExpressionConverter parent, CqtExpression operand, MethodCallExpression call) { // "Any" is equivalent to "exists". return operand.IsEmpty().Not(); }
0
2. Example
View licensepublic override DbExpression Visit(ExistsOp op, Node n) { // // Exists requires a RelOp input set // DbExpression inputExpr = VisitNode(n.Child0); // // Information about the Vars published by the RelOp argument does not need to be maintained // since they may not now be used higher in the CQT. // ConsumeRelOp(inputExpr); // // Exists --> Not(IsEmpty(Input set)) via DbExpressionBuilder.Exists // return inputExpr.IsEmpty().Not(); }
0
3. Example
View licenseprivate static Dictionary<AST.BuiltInKind, BuiltInExprConverter> CreateBuiltInExprConverter() /n ..... /n //View Source file for more details /n }