/// <summary> /// Deprecated Method for adding a new object to the Cpus EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCpus(Cpu cpu) { base.AddObject("Cpus", cpu); }
/// <summary> /// Create a new Cpu object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="producer">Initial value of the producer property.</param> public static Cpu CreateCpu(global::System.Int32 id, global::System.String name, global::System.String producer) { Cpu cpu = new Cpu(); cpu.id = id; cpu.name = name; cpu.producer = producer; return cpu; }