Hi @simedbn, it is possible.
when you resolve a tenant and set TenantId on the AbpSession, all data must be filtered
Hi @geowikiapps, did you read following doc: <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/EF-Core-PostgreSql-Integration">https://aspnetboilerplate.com/Pages/Doc ... ntegration</a>
I think you missed this line:
"Remove all migration classes in the *.EntityFrameworkCore/Migrations folder, because Npgsql.EntityFrameworkCore.PostgreSQL will add some of its own configuration"
@Kythor, could you please share all related code? (dto, entity, map configuration, app service etc...)
I think you got the answer here : <a class="postlink" href="https://stackoverflow.com/questions/48761496/cant-enable-entity-history-in-asp-net-zero">https://stackoverflow.com/questions/487 ... p-net-zero</a>
You pass parameter type => typeof(IAudited) but I can not see any entities that is type of IAudited entity. Could you change it with AuditedEntity ? I mean something like following:
Configuration.EntityHistory.Selectors.Add(new NamedTypeSelector("Abp.AuditedEntities", type => typeof(AuditedEntity).IsAssignableFrom(type)));
What is your dotnet version?
Hi @ManojReddy, the setting will be stored into the ".SUO" file that is ignored for github. Because this file is user specific. There is no setting in ".SLN" file for startup project.
However, If there is no suo file or by defaulty, IDE use the first project defined in SLN file as the startup project. So there is no reason behind it.
I created an issue for this: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/813">https://github.com/aspnetzero/aspnet-ze ... issues/813</a>
If you add following line to DTO, it should map automatically.
public IDictionary<string, object> Attributes { get; set; }
So if you add new attribute it will map to DTO's attribute.
FeatureMetadata doesn't map to DTO. Because FeatureMetadata is indexer of the Feature. If you want to access FeatureMetadata properties, you should write something like this: (alse there is an example of usage in TenantRegistrationAppService.cs)
(feature[FeatureMetadata.CustomFeatureKey] as FeatureMetadata).Image
Or you can use Attributes property of feature. Check this document for more detail: <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Feature-Management#other-feature-properties">https://aspnetboilerplate.com/Pages/Doc ... properties</a>