/// <summary>
        /// Create a new Observatory object.
        /// </summary>
        /// <param name="observatoryID">Initial value of the ObservatoryID property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="latitude">Initial value of the Latitude property.</param>
        /// <param name="longitude">Initial value of the Longitude property.</param>
        public static Observatory CreateObservatory(global::System.Int32 observatoryID, global::System.String name, global::System.String latitude, global::System.String longitude)
        {
            Observatory observatory = new Observatory();

            observatory.ObservatoryID = observatoryID;
            observatory.Name          = name;
            observatory.Latitude      = latitude;
            observatory.Longitude     = longitude;
            return(observatory);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the Observatory EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToObservatory(Observatory observatory)
 {
     base.AddObject("Observatory", observatory);
 }