Activities of "liangshiwei"

Hi,

Because the pro template use the Saas module instead of Tenant, you can try:

public class CustomTenantRepository : EfCoreRepository<SaasDbContext, Tenant, Guid>, ICustomTenantRepository
{
    public CustomTenantRepository(IDbContextProvider<SaasDbContext> dbContextProvider) : base(dbContextProvider)
    {
    }

    public async Task<Tenant> GetTenantByHost(string host, CancellationToken cancellationToken = default)
    {
        var context = await GetDbContextAsync();
        var tenant =  context.Tenants.Where(u => EF.Property<string>(u, "Host") == host);
        return await tenant.FirstOrDefaultAsync(cancellationToken: cancellationToken);
    }
}

Hi,

May I ask, what ABP version are you using?

Hi,

You need to query the data first:

try
{
    var ids = records.Where(rec => rec.Id != 0).Select(rec => rec.Id).ToList();
    var updateRecords = await _repository..GetListAsync(x => ids.Contains(x.Id));
    foreach(var record in updateRecords)
    {
        ObjectMapper.Map(records.First(rec => rec.Id == record.Id) , record)
    }
    await _repository.UpdateManyAsync(updateRecords , true);
}

Hi,

You can check the document: https://docs.abp.io/en/abp/latest/Modules/Setting-Management#angular-ui

Hi,

Can you use CLI to create a new project to reproduce it and share it with me? shiwei.liang@volosoft.com I will check it. thanks.

Hi

You can try this:

$(function(){
    $("link[rel='icon']").remove();
})
Configure<AbpBundlingOptions>(options =>
{
    options.ScriptBundles.Configure(
        LeptonXThemeBundles.Scripts.Global,
        bundle =>
        {
            bundle.AddFiles("/global.js");
        }
    );
});

Hi,

You can try this:

global.js

$(function(){
    if($("#lpx-wrapper").length > 0)
    {
        $("#lpx-wrapper").addClass("hover-trigger")
    }
})
Configure<AbpBundlingOptions>(options =>
{
    options.ScriptBundles.Configure(
        LeptonXThemeBundles.Scripts.Global,
        bundle =>
        {
            bundle.AddFiles("/global.js");
        }
    );
});

Hi,

You can check this: https://support.abp.io/QA/Questions/817/How-to-delete-current-license-login-session#answer-4cbc8f13-c7f3-84fa-7fc8-39fa2688df13

Hi,

See: https://support.abp.io/QA/Questions/4441#answer-27f5a8fa-264a-a9c2-66c3-3a0919e17aad

The problem has been fixed, and it will include in the next patch.

You ticket refunded.

Hi, you can try :

var builder = Builders<IdentityUser>.Filter;
var query = builder.Eq("stripeId", Value);
var users = await (await userRepository.GetCollectionAsync()).Find(query).ToListAsync();

To use GetCollectionAsync method in the app service or domain, you need to reference the Volo.Abp.MongoDB package

More example: https://www.mongodb.com/docs/drivers/csharp/current/fundamentals/crud/read-operations/retrieve/#example

Showing 4311 to 4320 of 6693 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.