LocusDataBase Object

The LocusDataBase (and its immediate children) provide the following functionality:

  1. Hold the following Locus information:
    1. Public: LocusIdentity

    2. Public: typeId
    3. Public: SquareID
    4. Public: LocusTypeID
    5. Public: PartObjects (These are the objects that contain sections in the Locus Forms)

    6. Public: ctrlPanel - a TableLayoutPanel that holds the sections controls created by the PartObjects

    7. Protected: Dataset object
    8. Protected: TableAdapterManager

    9. Protected: Row for this Locus
    10. Protected: Parent square that holds this Locus: SquareData.

  2. Constructor:
    1. Sets the the properties listed above
    2. Load or Create the database entry for this Locus depending on which constructor is called.
    3. Creates the PartObjects (sections) SEE PartObjects for explanations on how these PartObjects create and save themselves.

  3. public virtual void save() saves the common parts and allows child objects to save their sections in an object oriented manner.

LocusDataBase (last edited 2010-01-03 20:37:43 by 24-183-238-75)