Leadtools.Medical.DataAccessLayer.Catalog Namespace : ForeignKeysAttribute Class |
public class ForeignKeysAttribute : System.Attribute, System.Runtime.InteropServices._Attribute
'Declaration Public Class ForeignKeysAttribute Inherits System.Attribute Implements System.Runtime.InteropServices._Attribute
'Usage Dim instance As ForeignKeysAttribute
public ref class ForeignKeysAttribute : public System.Attribute, System.Runtime.InteropServices._Attribute
This attribute is used to create a relation between two ICatalogEntity classes.
When a parent class "A" of type ICatalogEntity has property of type "B" that implements the ICatalogEntity interface (child class) this attribute defines which properties in the child class "B" correspond to the same properties in the parent class "A".