EngincanV的活动

Hi @Mohammad, can you share where you used the repository (for example, your application service method)?

Hi again @commitdeveloper1, you can not access directly to precompanyname property because you are keeping Employment as collection instead of class. In other words, you need to iterate to collection to reach its properties.

public async Task<List<EmploymentEducation>> GetListAsync(int skipCount, int maxResultCount, string sorting, string filter = null)
        {
            var queryable = await GetMongoQueryableAsync();
            return await queryable
                .WhereIf<EmploymentEducation, IMongoQueryable<EmploymentEducation>>(
                            !filter.IsNullOrWhiteSpace(),
                            //you need to iterate collection to reach its properties(prevcompanyname)
                            employment => employment.Employments.Any(x => x.PrevCompanyName.Contains(filter))
                        )
                        .OrderBy(sorting)
                        .As<IMongoQueryable<EmploymentEducation>>()
                                //.Skip(skipCount)
                                //.Take(maxResultCount)
                                .ToListAsync();
        }

Can you share your EmploymentEducationRepository class?

Yes,,here it is:

Thanks,

Can you also check your EmploymentEducationRepository class? Is it both inherit from MongoDbRepository<IMyMongoDbContext, EmploymentEducation, Guid> and IEmploymentRepository?

It's recommended.

Can you share your EmploymentEducationRepository class?

Did you add your Employment, EmploymentEducation and Education classes into your dbcontext class? (Like below)

...

public DbSet<Employment> Employments {get; set;}
public DbSet<EmploymentEducation> EmploymentEducations {get; set;}
public DbSet<Education> Educations {get; set;}

...

Hi @paul.harriman, I couldn't reproduce your error. It works as expected for me.

  • Which browser do you use? (I've tried it on Microsoft Edge and Opera)

Is the app-pro template with version 4.4.0-rc.1 for commercial user released? I am still cannot download a start template code with the 4.4.0-rc.1

Hi @trendline, yes it's released. Could you specify the version (--version 4.4.0-rc.1) for downloading a startup template if you are using the CLI? (If you use Suite you can check the preview box while creating a project) Because otherwise, it might be using a cached template (with version 4.3.3)

Hi support,

When I try to go to My profile address after logging in to the commercial.abp.io, I get an "Internal Server Error" error.

Hi @gvnuysal, thanks for reporting this issue. It will be fixed.

Hi @serdar,

  • Can you change your proxy-server call as in the below screenshot? (It should be products instead of product)

  • Because Suite generates app service for Product as ProductsAppService.

Hi, I need the steps to reproduce this problem. Can you also specify your version?

显示 642 个条目中的 621 到 630 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11