Hi,
Is the problem solved?
Hi https://github.com/abpio/abp-commercial-docs/pull/627
Hi,
I could not reproduce the problem.
Here are the steps for manual installation:
Volo.Chat.Domain to Your Domain projectVolo.Chat.Domain.Shared to Your Domain.Shared projectVolo.Chat.EntityFrameworkCore to Your EntityFrameworkCore projectVolo.Chat.Application to Your Application projectVolo.Chat.Application.Contracts to Your Application.Contracts projectVolo.Chat.HttpApi to Your HttpApi projectVolo.Chat.HttpApi.Client to Your HttpApi.Client projectVolo.Chat.Blazor and Volo.Chat.Blazor.WebAssembly to Your Blazor projectVolo.Chat.SignalR to Your HttpApi.Host project[DependsOn(typeof(ChatDomainModule))]abp bundle for Blazor projectOpen your DbContext
protected override void OnModelCreating(ModelBuilder builder)
{
builder.ConfigureChat();
}
Add and apply a new migration file
ok
You can try to use this:
protected override void OnModelCreating(ModelBuilder builder)
{
.....
foreach (var entityType in builder.Model.GetEntityTypes())
{
if (typeof(IHasConcurrencyStamp).IsAssignableFrom(entityType.ClrType))
{
builder.Entity(entityType.ClrType).Property(nameof(IHasConcurrencyStamp.ConcurrencyStamp)).IsRequired(false);
}
}
}
And add a new migration file.
Could you please clarify if it is possible to filter data when retrieving a list of EntityChanges using ExtraProperties
No, it will not work.
You need to override the service.
First: https://docs.abp.io/en/abp/latest/Entity-Framework-Core#mapefcoreproperty Then, you can filter data via shadow-properties : https://learn.microsoft.com/en-us/ef/core/modeling/shadow-properties#accessing-shadow-properties
Hi,
Sorry, will it work if you try this?
public override void ConfigureServices(ServiceConfigurationContext context)
{
LimitedResultRequestDto.MaxMaxResultCount = int.MaxValue;
ExtensibleLimitedResultRequestDto.MaxMaxResultCount = int.MaxValue;
}
I want to add ScreenUrl and UserId to ExtraProperties of EntityChanges
For example:
public class MyAuditLogContributor : AuditLogContributor
{
public override void PostContribute(AuditLogContributionContext context)
{
foreach (var change in context.AuditInfo.EntityChanges)
{
change.SetProperty()
}
}
}
and I would like to be able to retrieve more than 1000 records because the current MaxResultCount limit is 1000.
You can try:
public override void ConfigureServices(ServiceConfigurationContext context)
{
ExtensibleLimitedResultRequestDto.MaxMaxResultCount = int.MaxValue;
}
Hi,
Sorry, I don't quite understand your question.
Could you explain it more clearly? Thank you.