Used to mark a property or field that reference an object for which database fields need to be loaded. The referenced object then contain fields or properties marked with FieldMappingAttribute. The field must be marked on a reference type field not a value based field. This attribute is useful in situations where another class (usually an inner class) holds a reference to an object that contains additional properties that are stored in the same record as the main container class.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
public class FieldMappingObjectHookAttribute : Attribute
Visual Basic
Public Class FieldMappingObjectHookAttribute _
	Inherits Attribute
Visual C++
public ref class FieldMappingObjectHookAttribute : public Attribute

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    DatabaseObjects..::..FieldMappingObjectHookAttribute

See Also