/// <summary> /// Deprecated Method for adding a new object to the LocationVisits EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLocationVisits(LocationVisit locationVisit) { base.AddObject("LocationVisits", locationVisit); }
/// <summary> /// Create a new LocationVisit object. /// </summary> /// <param name="locationVisitID">Initial value of the LocationVisitID property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> public static LocationVisit CreateLocationVisit(global::System.Decimal locationVisitID, global::System.DateTime lastModified) { LocationVisit locationVisit = new LocationVisit(); locationVisit.LocationVisitID = locationVisitID; locationVisit.LastModified = lastModified; return locationVisit; }