/// <summary>
 /// Deprecated Method for adding a new object to the locations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTolocations(location location)
 {
     base.AddObject("locations", location);
 }
 /// <summary>
 /// Create a new location object.
 /// </summary>
 /// <param name="latitude">Initial value of the latitude property.</param>
 /// <param name="longitude">Initial value of the longitude property.</param>
 /// <param name="measurementTime">Initial value of the measurementTime property.</param>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="entryID">Initial value of the entryID property.</param>
 public static location Createlocation(global::System.Double latitude, global::System.Double longitude, global::System.DateTime measurementTime, global::System.Int64 id, global::System.Int64 entryID)
 {
     location location = new location();
     location.latitude = latitude;
     location.longitude = longitude;
     location.measurementTime = measurementTime;
     location.id = id;
     location.entryID = entryID;
     return location;
 }