/// <summary> /// Deprecated Method for adding a new object to the Throughput EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToThroughput(Throughput throughput) { base.AddObject("Throughput", throughput); }
/// <summary> /// Create a new Throughput object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="perHour">Initial value of the PerHour property.</param> /// <param name="client">Initial value of the Client property.</param> /// <param name="active">Initial value of the Active property.</param> public static Throughput CreateThroughput(global::System.Int32 id, global::System.Int32 perHour, global::System.String client, global::System.Boolean active) { Throughput throughput = new Throughput(); throughput.Id = id; throughput.PerHour = perHour; throughput.Client = client; throughput.Active = active; return throughput; }