Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

query extended OrganizationUnit #2519


User avatar
0
rvanwoezik created

Hi, I have extended OrganizationUnit with, among others, property IsClinic when querying the organizationUnitRepository this extended properties or discriminator are not available.

var query =
                from ou in _organizationUnitRepository.GetAll().Where(ou => ou.IsClinic)

Any tips?


1 Answer(s)
  • User Avatar
    0
    rvanwoezik created

    OOps , forget it. This works

    private readonly IRepository<]My]OrganizationUnit, long> _organizationUnitRepository;