Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "aaron"

Can you put a breakpoint in CustomDtoMapper to see if the configuration is run?

It will not map the password. Did you try?

Your database is saying otherwise. Can you:

  • show some screenshots of the value while debugging and database records, and
  • try hardcoding input.RcmMemberId = 1 or input.RcmMemberId = user.UserId?

Is the client passing both RcmMemberId and RcmCoordinatorId? Set a breakpoint and check both values.

RcmMemberId defaults to 0, which is not a valid User.Id - set the property type to long? if it's optional.

Try this:

public class MyDbContext : AbpZeroDbContext<Tenant, Role, User, MyDbContext>, IAbpPersistedGrantDbContext
{
    public MyDbContext(DbContextOptions<MyDbContext> options)
        : base(options)
    {
        Database.SetCommandTimeout(10); // seconds
    }
}

Use IFormFile in .NET Core 2.0.

GetAllIncluding accepts params, so simply use one or more commas:

var children = await _childRepository
    .GetAllIncluding(
        c => c.Parent,
        c => c.AnotherRelationship)
    .ToListAsync();

Can you check if replacing input.User.MapTo(user) with ObjectMapper.Map(input.User, user) solves this issue? Mapping configuration is in src/MyCompanyName.AbpZeroTemplate.Application/CustomDtoMapper.cs#L29-L32.

EntityFrameworkCore requires eager-loading:

var children = await _childRepository.GetAllIncluding(c => c.Parent).ToListAsync();
Showing 1441 to 1450 of 1543 entries