Exemplo n.º 1
0
 /// <summary>
 /// Create a new Cell object.
 /// </summary>
 /// <param name="x">Initial value of the X property.</param>
 /// <param name="y">Initial value of the Y property.</param>
 /// <param name="u">Initial value of the U property.</param>
 /// <param name="v">Initial value of the V property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 public static Cell CreateCell(global::System.Int32 x, global::System.Int32 y, global::System.Double u, global::System.Double v, global::System.Int32 id)
 {
     Cell cell = new Cell();
     cell.X = x;
     cell.Y = y;
     cell.U = u;
     cell.V = v;
     cell.Id = id;
     return cell;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Cells EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCells(Cell cell)
 {
     base.AddObject("Cells", cell);
 }