/// <summary> /// Deprecated Method for adding a new object to the payContracts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTopayContracts(payContracts payContracts) { base.AddObject("payContracts", payContracts); }
/// <summary> /// Create a new payContracts object. /// </summary> /// <param name="payContractId">Initial value of the payContractId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="payPayerId">Initial value of the payPayerId property.</param> /// <param name="payBusinessLineId">Initial value of the payBusinessLineId property.</param> public static payContracts CreatepayContracts(global::System.Int32 payContractId, global::System.String name, global::System.Int32 payPayerId, global::System.Int32 payBusinessLineId) { payContracts payContracts = new payContracts(); payContracts.payContractId = payContractId; payContracts.Name = name; payContracts.payPayerId = payPayerId; payContracts.payBusinessLineId = payBusinessLineId; return payContracts; }