C# Class Habanero.BO.ClassDefinition.SuperClassDef

Manages a super-class in the case where inheritance is being used.
Inheritance: ISuperClassDef
Show file Open project: Chillisoft/habanero Class Usage Examples

Public Methods

Method Description
SuperClassDef ( IClassDef superClassDef, ORMapping mapping ) : System

Constructor to create a new super-class

SuperClassDef ( string assemblyName, string className, ORMapping mapping, string id, string discriminator ) : System

Constructor to create a new super-class

Method Details

SuperClassDef() public method

Constructor to create a new super-class
public SuperClassDef ( IClassDef superClassDef, ORMapping mapping ) : System
superClassDef IClassDef The class definition
mapping ORMapping The type of OR-Mapping to use. See /// the ORMapping enumeration for more detail.
return System

SuperClassDef() public method

Constructor to create a new super-class
public SuperClassDef ( string assemblyName, string className, ORMapping mapping, string id, string discriminator ) : System
assemblyName string The assembly name of the superClass
className string The class name of the superClass
mapping ORMapping The type of OR-Mapping to use. See /// the ORMapping enumeration for more detail.
id string In ClassTableInheritance, this determines which property /// in the child has a copy of the parent ID. Provide an empty string if in /// the code the child simply inherits the parent's ID.
discriminator string In SingleTableInheritance, this determines /// the name of the database column that stores the type name of the class /// being stored in that particular row.
return System