LocusDataBase Object
The LocusDataBase (and its immediate children) provide the following functionality:
- Hold the following Locus information:
Public: LocusIdentity
- Public: typeId
- Public: SquareID
- Public: LocusTypeID
Public: PartObjects (These are the objects that contain sections in the Locus Forms)
Public: ctrlPanel - a TableLayoutPanel that holds the sections controls created by the PartObjects
- Protected: Dataset object
Protected: TableAdapterManager
- Protected: Row for this Locus
Protected: Parent square that holds this Locus: SquareData.
- Constructor:
- Sets the the properties listed above
- Load or Create the database entry for this Locus depending on which constructor is called.
Creates the PartObjects (sections) SEE PartObjects for explanations on how these PartObjects create and save themselves.
- public virtual void save() saves the common parts and allows child objects to save their sections in an object oriented manner.