Field is declared as:

[Field]
public bool? IsEnabled { get; set; }

In expression with "IsEnabled == null" using DynamicLibrary DO produces invalid SQL:

... ([g].[IsEnabled] <> 0) IS NULL ...

Original message 'Incorrect syntax near the keyword 'IS'.' ---> System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'IS'.

asked Oct 11 '12 at 09:15

pil0t's gravatar image

pil0t
207545763

edited Oct 11 '12 at 09:54


One Answer:

Hello pil0t,

thanks for reporting. We'll include the fix in the next minor update.

answered Oct 15 '12 at 05:22

Denis%20Krjuchkov's gravatar image

Denis Krjuchkov
179325

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA