Hi
I will check it.
Hi,
I mean the user edit page in the ABP application
Hi,
No, current abstraction does not support to set job retrycount.
You can check this: https://github.com/abpframework/abp/issues/4174
Hi,
You can create users using a separate transaction. for example:
foreach(var item in list)
{
using (var uow = UnitOfWorkManager.Begin(requiresNew: true, isTransactional:true))
{
try
{
var user = new IdentityUser(
GuidGenerator.Create(),
<username>, /// item.Username
<email>, // item.email
CurrentTenant.Id
);
user.SetPhoneNumber(<phoneNumber>, false);
await UserManager.CreateAsync(user, <password>)).CheckErrors();
await uow.CompleteAsync();
}
catch (Exception e)
{
await uow.RollbackAsync();
throw e;
}
}
}
Hi,
This actually has nothing to do with ABP framework.
You can choose your favorite Excel library to upload Excel files, for example: https://github.com/mini-software/MiniExcel
Hi,
Yes
Hi,
Could you share a simple project to reproduce the problem with me? shiwei.liang@volosoft.com I will check it. thanks.
Hi,
You can try:
...
[ReplaceDbContext(typeof(IFileManagementDbContext))]
public class YourDbcontext: ..... IFileManagementDbContext
{
.....
public DbSet<FileMataData> FileMataData {get; set;}
protected override void OnModelCreating(ModelBuilder builder)
{
base.OnModelCreating(builder);
.....
builder.Entity<FileMataData>(b =>
{
b.ToTable(MyProjectNameConsts.DbTablePrefix + "FileMataData", MyProjectNameConsts.DbSchema);
b.HasOne(e => e.File).WithOne();
b.ConfigureByConvention(); //auto configure for the base class props
});
}
}
public class FileMataData: Entity<Guid>
{
public Guid FileId { get; set; }
public FileDescriptor File { get; set;}
.....
}