Supports explicit inclusion of item properties in the SimpleDB mapping.

Namespace: Simol
Assembly: Simol (in Simol.dll) Version: 1.0.0.0

Syntax

C#
public class SimolIncludeAttribute : SimolAttribute
Visual Basic
Public Class SimolIncludeAttribute _
	Inherits SimolAttribute
Visual C++
public ref class SimolIncludeAttribute : public SimolAttribute

Remarks

Use this attribute on item properties you wish to explicitly mark as persistent. Once this attribute is used on any property of an item type, all other properties of the type must also be explicitly included. Properties are explicitly included when you use any property-level Simol attribute (e.g. NumberFormatAttribute, AttributeNameAttribute, etc.).

Therefore, this attribute is most useful when you wish to persist a small number of properties from an item type that has many properties.

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Simol..::..SimolAttribute
      Simol..::..SimolIncludeAttribute

See Also