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

Activities of "aaron"

  1. Is that list of Unmapped properties from the exception?
  2. Are those all of the properties in the entity and input?

Is there a way to add a screenshot here?

You can click on Upload attachment below the Submit button. It's a problem of imgur.com — e.g. github.com images work.

GetAllIncluding is single-level. To include nested relationships, add using Microsoft.EntityFrameworkCore; and do:

var output = from p in
    (_productRepo.GetAllIncluding(
        // ...
        // p => p.ProductApprovals // Comment out this line
        // ...
    ).Include(p => p.ProductApprovals) // Include relationship
        .ThenInclude(pa => pa.Approver1) // ThenInclude nested relationship
    .ToList())
    where Filter.FilterUtil.FilterForGetProduct(p, input)
    select p;

But I don't really want it as an entire different object. I would like to just add 1 column basically to the OrganizationUnit.

That's not possible. What's wrong with having a different object?

I saw the note in the documentation below but I didn't really understand what to do with the OnModelCreating.

That's no longer necessary as of ABP v3.2.0. I just created a PR to remove that note.

Did you try what I suggested?

Try setting a default value explicitly:

public class FetchTestInput: PagedAndSortedInputDto, IShouldNormalize
{
    public int TestLevel { get; set; } = 0;
    public int CodeType { get; set; } = 0;
    // ...
}

Can you find where ClassificationLevel and CodeType appears in your project?

Showing 1161 to 1170 of 1543 entries