/// <summary>
 /// Enum types are equal by primary key
 /// </summary>
 public bool Equals(FocusAreaStatus other)
 {
     if (other == null)
     {
         return(false);
     }
     return(other.FocusAreaStatusID == FocusAreaStatusID);
 }
 /// <summary>
 /// Constructor for building a new object with MinimalConstructor required fields, using objects whenever possible
 /// </summary>
 public FocusArea(string focusAreaName, FocusAreaStatus focusAreaStatus, DNRUplandRegion dNRUplandRegion) : this()
 {
     // Mark this as a new object by setting primary key with special value
     this.FocusAreaID       = ModelObjectHelpers.MakeNextUnsavedPrimaryKeyValue();
     this.FocusAreaName     = focusAreaName;
     this.FocusAreaStatusID = focusAreaStatus.FocusAreaStatusID;
     this.DNRUplandRegionID = dNRUplandRegion.DNRUplandRegionID;
     this.DNRUplandRegion   = dNRUplandRegion;
     dNRUplandRegion.FocusAreas.Add(this);
 }
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static FocusArea CreateNewBlank(FocusAreaStatus focusAreaStatus, DNRUplandRegion dNRUplandRegion)
 {
     return(new FocusArea(default(string), focusAreaStatus, dNRUplandRegion));
 }