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