NewGuid ()

Returns a new GUID.

Example

NewGuid()

IIF(expr, value1, value2)

Returns value1 if expr evaluates to TRUE, or value2 if it evaluates to FALSE.

Example

var esql = "select value iif(e.Country = 'Chinese', 'CN', 'Other') from Employees as e";
var q = db.CreateQuery(esql);

Last edited Mar 25, 2013 at 6:43 AM by ansiboy, version 1

Comments

No comments yet.