-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hi. I'm using CamelCase naming convention. That work ok for entity retrieved and sent but I facing error of kind: property not found when using the Where function into the query. Example below:
` public async Task<IEnumerable> GetByCustomer(Guid customerId)
{
try
{
var query = new EntityQuery("GetAll");
query = query.Where(o => o.customerId == customerId);
var qr = await this.EntityManager.ExecuteQuery(query);
var result = qr.ToList();
return result;
}
catch (Exception ex)
{
throw;
}
}`
this example fail because customerId is not part of TrsansportReceipt at server side but CustomerId do.
I use camelcasing as follow:
var namingConvention = NamingConvention.CamelCaseProperties.WithClientServerNamespaceMapping( new Dictionary<string, string> { { "Business.DomainModels", "DomainModel.Models" } } );
Metadata
Metadata
Assignees
Labels
No labels