/// <summary> /// 用于向 Land_Graphs EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToLand_Graphs(Land_Graph land_Graph) { base.AddObject("Land_Graphs", land_Graph); }
/// <summary> /// 创建新的 Land_Graph 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> /// <param name="graphName">GraphName 属性的初始值。</param> public static Land_Graph CreateLand_Graph(global::System.Int32 id, global::System.String graphName) { Land_Graph land_Graph = new Land_Graph(); land_Graph.ID = id; land_Graph.GraphName = graphName; return land_Graph; }