/// <summary> /// Create a new Location object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="parentID">Initial value of the ParentID property.</param> /// <param name="x">Initial value of the X property.</param> /// <param name="y">Initial value of the Y property.</param> /// <param name="z">Initial value of the Z property.</param> /// <param name="closed">Initial value of the Closed property.</param> /// <param name="version">Initial value of the Version property.</param> /// <param name="volumeX">Initial value of the VolumeX property.</param> /// <param name="volumeY">Initial value of the VolumeY property.</param> /// <param name="terminal">Initial value of the Terminal property.</param> /// <param name="offEdge">Initial value of the OffEdge property.</param> /// <param name="radius">Initial value of the Radius property.</param> /// <param name="typeCode">Initial value of the TypeCode property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="username">Initial value of the Username property.</param> public static Location CreateLocation(global::System.Int64 id, global::System.Int64 parentID, global::System.Double x, global::System.Double y, global::System.Double z, global::System.Boolean closed, global::System.Byte[] version, global::System.Double volumeX, global::System.Double volumeY, global::System.Boolean terminal, global::System.Boolean offEdge, global::System.Double radius, global::System.Int16 typeCode, global::System.DateTime lastModified, global::System.DateTime created, global::System.String username) { Location location = new Location(); location.ID = id; location.ParentID = parentID; location.X = x; location.Y = y; location.Z = z; location.Closed = closed; location.Version = version; location.VolumeX = volumeX; location.VolumeY = volumeY; location.Terminal = terminal; location.OffEdge = offEdge; location.Radius = radius; location.TypeCode = typeCode; location.LastModified = lastModified; location.Created = created; location.Username = username; return location; }
/// <summary> /// Deprecated Method for adding a new object to the Locations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLocations(Location location) { base.AddObject("Locations", location); }