/// <summary> /// 用于向 PaymentRemark EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToPaymentRemark(PaymentRemark paymentRemark) { base.AddObject("PaymentRemark", paymentRemark); }
/// <summary> /// 创建新的 PaymentRemark 对象。 /// </summary> /// <param name="remarkID">RemarkID 属性的初始值。</param> public static PaymentRemark CreatePaymentRemark(global::System.Guid remarkID) { PaymentRemark paymentRemark = new PaymentRemark(); paymentRemark.RemarkID = remarkID; return paymentRemark; }