RootQueryRestrictionAttribute Class

Defines an attribute that will mark a modeled table with a record restriction that applies to all query functions for modeled TableOperationsT.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.128 -- Release Build+cb657b646daac3e9cc5384ff42ed4530df50eab1
[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class RootQueryRestrictionAttribute : Attribute
Inheritance
Object    Attribute    RootQueryRestrictionAttribute

Constructors

RootQueryRestrictionAttribute Creates a new parameterized RootQueryRestrictionAttribute with the specified SQL filter expression and parameters.

Properties

TypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)

Methods

EqualsReturns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
GetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
MatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

ApplyToDeletes Gets or sets flag that determines if root query restriction should be applied to delete operations.
ApplyToUpdates Gets or sets flag that determines if root query restriction should be applied to update operations.
FilterExpression Defines filter SQL expression for restriction as a composite format string - does not include WHERE. When escaping is needed for field names, use standard ANSI quotes.
Parameters Defines restriction parameter values.

See Also