This project is read-only.

IS NULL

Determines if a query expression is null.
expression IS [ NOT ] NULL

Arguments

expression: Any valid query expression. Cannot be a collection, have collection members, or a record type with collection type properties.
NOT: Negates the EDM.Boolean result of IS NULL.

Return Value

true if expression returns null; otherwise, false.

Example

var esql = "select p from Products as p where p.Category is null";
var q = db.CreateQuery<Product>(esql);
q.Execute();

esql = "select p from Products as p where p.Category is not null";
q = db.CreateQuery<Product>(esql);
q.Execute();

Last edited Mar 25, 2013 at 8:04 AM by ansiboy, version 1

Comments

No comments yet.