/// <summary> /// Deprecated Method for adding a new object to the RelativeLocations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRelativeLocations(RelativeLocation relativeLocation) { base.AddObject("RelativeLocations", relativeLocation); }
/// <summary> /// Create a new RelativeLocation object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="vertex_ID">Initial value of the Vertex_ID property.</param> public static RelativeLocation CreateRelativeLocation(global::System.Int32 id, global::System.Int32 vertex_ID) { RelativeLocation relativeLocation = new RelativeLocation(); relativeLocation.ID = id; relativeLocation.Vertex_ID = vertex_ID; return relativeLocation; }