private string name; //backing fields for Name #endregion #region Constructors /// <summary> /// Constructor - used when you don't already have base information /// </summary> /// <param name="id">The unique ID for the base</param> /// <param name="database">An object that provides a method to update/retrieve information from the database</param> public Base(int id) { //assign fields ID = id; this.database = Tools.BaseLoctionDB; //retrieve info from the database database.GetBaseInfo(id, out officeNo, out name, out address); }