You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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" } } );
The text was updated successfully, but these errors were encountered:
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);
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" } } );
The text was updated successfully, but these errors were encountered: