/// <summary> /// Deprecated Method for adding a new object to the Vertices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVertices(Vertex vertex) { base.AddObject("Vertices", vertex); }
/// <summary> /// Create a new Vertex object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="building_ID">Initial value of the Building_ID property.</param> public static Vertex CreateVertex(global::System.Int32 id, global::System.Int32 building_ID) { Vertex vertex = new Vertex(); vertex.ID = id; vertex.Building_ID = building_ID; return vertex; }