Пример #1
0
 /// <summary>
 /// Create a new Area object.
 /// </summary>
 /// <param name="descricao">Initial value of the Descricao property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 public static Area CreateArea(global::System.String descricao, global::System.Int64 id)
 {
     Area area = new Area();
     area.Descricao = descricao;
     area.Id = id;
     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);
 }