Пример #1
0
 protected override IQueryable <IBusinessObject> CreateQuery(
     BaseSecurityManagerObject referencingObject,
     IBusinessObjectReferenceProperty property,
     TenantConstraint tenantConstraint,
     DisplayNameConstraint displayNameConstraint)
 {
     return(Tenant.FindAll().Apply(displayNameConstraint).Cast <IBusinessObject>());
 }
Пример #2
0
        protected override IQueryable <IBusinessObject> CreateQuery(
            BaseSecurityManagerObject referencingObject,
            IBusinessObjectReferenceProperty property,
            TenantConstraint tenantConstraint,
            DisplayNameConstraint displayNameConstraint)
        {
            ArgumentUtility.CheckNotNull("tenantConstraint", tenantConstraint);

            return(Group.FindByTenant(tenantConstraint.Value).Apply(displayNameConstraint).Cast <IBusinessObject>());
        }
Пример #3
0
 protected abstract IQueryable <IBusinessObject> CreateQuery(
     BaseSecurityManagerObject referencingObject,
     IBusinessObjectReferenceProperty property,
     TenantConstraint tenantConstraint,
     DisplayNameConstraint displayNameConstraint);