Visual Basic (Declaration) | |
---|---|
Protected Overridable Function GetClientQueryPermission( _ ByVal entityQuery As EntityQuery _ ) As ClientQueryPermissions |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EntityServerQueryInterceptor Dim entityQuery As EntityQuery Dim value As ClientQueryPermissions value = instance.GetClientQueryPermission(entityQuery) |
C# | |
---|---|
protected virtual ClientQueryPermissions GetClientQueryPermission( EntityQuery entityQuery ) |
C++/CLI | |
---|---|
protected: virtual ClientQueryPermissions GetClientQueryPermission( EntityQuery^ entityQuery ) |
Parameters
- entityQuery
Checks for any IdeaBlade.EntityModel.ClientQueryPermissionsAttribute defined on either the entity or the named query.
If the query is a named query then any attributes defined on it will be used to authorize the user for the query.
If no attributes are defined on the named query, or it's not a named query, then the entity type of the query is used to check the client query permissions.
If no client query permission attributes are specified then the DefaultClientQueryPermissions value is used.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family