コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Trip EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTrip(Trip trip)
 {
     base.AddObject("Trip", trip);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Trip object.
 /// </summary>
 /// <param name="eID">Initial value of the EID property.</param>
 /// <param name="mID">Initial value of the MID property.</param>
 /// <param name="cID">Initial value of the CID property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 public static Trip CreateTrip(global::System.Int32 eID, global::System.Int32 mID, global::System.Int32 cID, global::System.DateTime startDate)
 {
     Trip trip = new Trip();
     trip.EID = eID;
     trip.MID = mID;
     trip.CID = cID;
     trip.StartDate = startDate;
     return trip;
 }