Ejemplo 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(Location location)
 {
     base.AddObject("Locations", location);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Location object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="locationName">Initial value of the LocationName property.</param>
 /// <param name="width">Initial value of the Width property.</param>
 /// <param name="height">Initial value of the Height property.</param>
 /// <param name="length">Initial value of the Length property.</param>
 /// <param name="discontinued">Initial value of the Discontinued property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Location CreateLocation(global::System.Int32 id, global::System.String locationName, global::System.Double width, global::System.Double height, global::System.Double length, global::System.Boolean discontinued, global::System.Byte[] rowVersion)
 {
     Location location = new Location();
     location.Id = id;
     location.LocationName = locationName;
     location.Width = width;
     location.Height = height;
     location.Length = length;
     location.Discontinued = discontinued;
     location.RowVersion = rowVersion;
     return location;
 }