Previous title: LOOK UP TABLE ISSUE
Hi,
Am getting this error on the filter on look up tables.
System.InvalidOperationException: The LINQ expression 'DbSet<RentalInvoice> .Where(r => __ef_filter__p_0 || !(((ISoftDelete)r).IsDeleted) && __ef_filter__p_1 || (Nullable<int>)((IMustHaveTenant)r).TenantId == __ef_filter__CurrentTenantId_2) .Where(r => r.InvoiceNumber.ToString().Contains(__input_Filter_0))' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to either AsEnumerable(), AsAsyncEnumerable(), ToList(), or ToListAsync(). See https://go.microsoft.com/fwlink/?linkid=2101038 for more information. at Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor.<VisitMethodCall>g__CheckTranslated|8_0(ShapedQueryExpression translated, <>c__DisplayClass8_0& ) at Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCallExpression) at Microsoft.EntityFrameworkCore.Query.RelationalQueryableMethodTranslatingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCallExpression) at Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCallExpression) at Microsoft.EntityFrameworkCore.Query.RelationalQueryableMethodTranslatingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCallExpression) at Microsoft.EntityFrameworkCore.Query.QueryCompilationContext.CreateQueryExecutor[TResult](Expression query) at Microsoft.EntityFrameworkCore.Storage.Database.CompileQuery[TResult](Expression query, Boolean async) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.CompileQueryCore[TResult](IDatabase database, Expression query, IModel model, Boolean async) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<>c__DisplayClass12_0`1.
Previous title: INDEX NOT WORKING
Hi,
Am using ASP.NET CORE + JQUERY
Somehow, some index pages are not displaying data and there's no error. I've checked all possible reasons including regenerating the entities. What could be the possible cause?
Great. Thank you.
Hi,
When you allow tenants to access audit logs through the Administrator menu, do they view their own audits only?
Alright. Thanks for pointing out. Cheers ;0
Any help with this?
Hi,
I created entities using the RAD Tool. Under base class, I selected 'Entity'. How can I change this to 'FullyAuditedEntity' on existing entities?
Alright. I'm trying to follow the flow to implement correctly. Thank you for pointing out.
Hi,
I'm wondering how to do this. I have an entity called MyTenant, and another called NextOfKin. NextOfKin has MyTenant as a navigation property which means the Id on MyTenant is a foreign key on NextOfKin. Inside the MyTenant grid, I have added a link inside Actions and I'd like that if a user clicks on the link it opens a modal containing a list of NextOfKins associated with the MyTenant. Is there an easy way to do this?
Hi,
Adding the [string] to localization actually worked. Thanks.