System.ComponentModel.DataAnnotations Namespace
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Provides attribute classes that are used to define metadata for entity classes.
Classes
Class | Description | |
---|---|---|
AuthorizationAttribute | Serves as base class for classes that are used to control authorization through custom metadata. | |
AuthorizationContext | Describes the context in which an authorization is being performed. | |
AuthorizationResult | Contains the results of an authorization request. | |
CompositionAttribute | Indicates that a member represents an association that is part of a compositional hierarchy. | |
RoundtripOriginalAttribute | When applied to a member, this attribute indicates that the original value of the member should be sent back to the server when the object is updated. When applied to a class, the attribute gets applied to each member of that class. |