Exemplo n.º 1
0
 /// <summary>
 /// Create a new Area object.
 /// </summary>
 /// <param name="areaCode">Initial value of the AreaCode property.</param>
 public static Area CreateArea(global::System.String areaCode)
 {
     Area area = new Area();
     area.AreaCode = areaCode;
     return area;
 }
Exemplo n.º 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);
 }