protected override IQueryable <IBusinessObject> CreateQuery( BaseSecurityManagerObject referencingObject, IBusinessObjectReferenceProperty property, TenantConstraint tenantConstraint, DisplayNameConstraint displayNameConstraint) { return(Tenant.FindAll().Apply(displayNameConstraint).Cast <IBusinessObject>()); }
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>()); }
protected abstract IQueryable <IBusinessObject> CreateQuery( BaseSecurityManagerObject referencingObject, IBusinessObjectReferenceProperty property, TenantConstraint tenantConstraint, DisplayNameConstraint displayNameConstraint);