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
Hey,
imagine we have 2 models like
public class Model1 { public Guid Id {get; set;} //.... [Column(TypeName = "jsonb")] public Model2 Data {get;set;} } public class Model2 { //.... public string SomeField {get;set;} }
and model2 gets serialized with camelcase settings
the following call
string someValue = ""; Model1.AsNoTracking().Where(s => s.Data.SomeField == someValue).ToListAsync();
creates the following query
SELECT u.id, u.data FROM model1 AS u WHERE u.data->>'SomeField' = @__someValue_0
but right would be
SELECT u.id, u.data FROM model1 AS u WHERE u.data->>'someField' = @__someValue_0
is there a way to tell the provider he should use camelcase ? i tried jsonproperty ( from newtonsoft ) and also ColumnAttribute but booth gets ignored
The text was updated successfully, but these errors were encountered:
Duplicate of #1107
Sorry, something went wrong.
No branches or pull requests
Hey,
imagine we have 2 models like
and model2 gets serialized with camelcase settings
the following call
creates the following query
but right would be
is there a way to tell the provider he should use camelcase ?
i tried jsonproperty ( from newtonsoft ) and also ColumnAttribute but booth gets ignored
The text was updated successfully, but these errors were encountered: