wrote:
Hi,
Perhaps I was a not clear in my original post. The rows in the above code excerpt marked with tags //TJI will solve the issue.
// TJI Add tenant id
sql += ", tenant_id";
// TJI Add tenant id
sql += string.Format(", {0}", AppInfo.GetAppInfo().Tenant.Id);
I understood your post and I'm glad that solutions solves the issue for you.
The questions I'm posting are intended to figure out a way to solve that issue without making changes to the component that will prevent it from working when the entity is not multi-tenant.
Thanks!