AtomsFramework Persistence Layer Reference Guide

AFTableAttribute Constructor 

[This is preliminary documentation and subject to change.]

Constructor for a new class mapping

[Visual Basic]
Public Sub New( _
   ByVal table As String, _
   ByVal databaseId As String, _
   ByVal databaseKey As KeyType _
)
[C#]
public AFTableAttribute(
   string table,
   string databaseId,
   KeyType databaseKey
);

Parameters

table
The database table the class is stored in
databaseId
The name of the database the table is stored in
databaseKey
The relational key type that the table employs

Remarks

This constructor creates the basic relational mapping for the class, however depending on the key type chosen a number of extra properties may need to be set.

See Also

AFTableAttribute Class | AtomsFramework Namespace