/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Circuits EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCircuits(Circuit circuit) { base.AddObject("Circuits", circuit); }