We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The issue is similar as #321
I've set the config value to null BLToolkit.Common.Configuration.NullableValues.String = null; but it does not work for select to the anonymous class.
BLToolkit.Common.Configuration.NullableValues.String = null;
public partial class Table1{ ... [MapField("string_value"), Nullable] public string StringValue { get; set; } // nvarchar(-1) ... } var query = d.GetTable<Table1>() .Where(x => x.StringValue == null) .Select(x => new { x, x.StringValue }); var queryData = query.First();
And result in json is:
queryData = { "x": { ... "StringValue": null, ... }, "StringValue": "" }
But expected:
queryData = { "x": { ... "StringValue": null, ... }, "StringValue": null }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The issue is similar as #321
I've set the config value to null
BLToolkit.Common.Configuration.NullableValues.String = null;
but it does not work for select to the anonymous class.
And result in json is:
But expected:
The text was updated successfully, but these errors were encountered: