コード例 #1
0
 /// <summary>
 /// Create a new Area object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Area CreateArea(global::System.Int32 id, global::System.String name)
 {
     Area area = new Area();
     area.id = id;
     area.Name = name;
     return area;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Areas EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAreas(Area area)
 {
     base.AddObject("Areas", area);
 }