Activities of "thanhlg"

What if the data exceeds int.MaxValue?

[ExposeServices(typeof(IAuditLogsAppService))] 
public class MyAuditLogsAppService : AuditLogsAppService 
{ 
    public MyAuditLogsAppService(IAuditLogRepository auditLogRepository, IJsonSerializer jsonSerializer, IPermissionChecker permissionChecker, IPermissionDefinitionManager permissionDefinitionManager) : base(auditLogRepository, jsonSerializer, permissionChecker, permissionDefinitionManager) 
    { 
    } 
} 

Can you help me write the GetEntityChangesAsync(GetEntityChangesDto input) method without being limited by MaxResultCount?

public override void ConfigureServices(ServiceConfigurationContext context)  
{  
    LimitedResultRequestDto.MaxMaxResultCount = int.MaxValue;  
    ExtensibleLimitedResultRequestDto.MaxMaxResultCount = int.MaxValue;  
}  
  

Thanks for the support, but if I don't use this configuration, can you help me rewrite the 'GetEntityChanges' method without using pagination and without limiting the number of results?

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; 
} 
 

Thank you very much.

Could you please clarify if it is possible to filter data when retrieving a list of EntityChanges using ExtraProperties? I would like to retrieve a list of data where ScreenUrl in ExtraProperties is equal to the URL of the currently opened page. Additionally, I need to filter multiple EntityIds within the same page. How can this be achieved? Could you provide me with some suggestions?

Hi, I apologize for the complexity of my question. I want to add ScreenUrl and UserId to ExtraProperties of EntityChanges (currently only possible to store in the ExtraProperties of AuditLogs), and I would like to be able to retrieve more than 1000 records because the current MaxResultCount limit is 1000.

I sent the project

thanhlg@xxxx.com.vn

It worked. Thank you very much.🌻

hi

Can you create a new template project?

The project you shared uses the DevExpress and database migrations are incorrect.

Thanks.

I have updated the new version for the source link. I have also tested running the migration again, and it is working fine. Please review it again. Thanks.

Hi maliming,

I have sent you an email, please check and assist me. Thanks.

I have deleted it.

When I use the "Url", it shows a mandatory error message.

When I try to fix it to the "url", the update method doesn't work at all.

Showing 31 to 40 of 43 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13