Exemplo n.º 1
0
 /// <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(Locations locations)
 {
     base.AddObject("Locations", locations);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Locations object.
 /// </summary>
 /// <param name="locationID">Initial value of the LocationID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Locations CreateLocations(global::System.Int32 locationID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     Locations locations = new Locations();
     locations.LocationID = locationID;
     locations.AddDate = addDate;
     locations.RowVersion = rowVersion;
     return locations;
 }