This project is read-only.
1
Vote

Support for Oracle DECODE function

description

I tried the below query
from iCust in MyCustomerTable
select new with {iCust.Name, iCust.Address1, iCust.Address2, iCust.Phone,
             iCust.IsActive = iCust.IsActive.Value = 0 ? "False" :
            iCust.IsActive.Value = 1 ? "True" : "-"}
 
This throws error "Anonymous type member name can be inferred only from a simple or qualified name with no arguments."
 
Does this mean DECODE Oracle SQL function is not supported in this provider or is there any syntax error?
 
Thanks
Venkat
http://www.rajavenkatesh.com

comments