コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LocationVisits EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLocationVisits(LocationVisit locationVisit)
 {
     base.AddObject("LocationVisits", locationVisit);
 }
コード例 #2
0
 /// <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;
 }