/// <summary> /// 创建新的 ViewMemberAmount 对象。 /// </summary> /// <param name="memberVSChargeItemID">MemberVSChargeItemID 属性的初始值。</param> /// <param name="accountID">AccountID 属性的初始值。</param> /// <param name="accountNumber">AccountNumber 属性的初始值。</param> /// <param name="due">Due 属性的初始值。</param> /// <param name="createdDate">CreatedDate 属性的初始值。</param> public static ViewMemberAmount CreateViewMemberAmount(global::System.Guid memberVSChargeItemID, global::System.Guid accountID, global::System.String accountNumber, global::System.Decimal due, global::System.DateTime createdDate) { ViewMemberAmount viewMemberAmount = new ViewMemberAmount(); viewMemberAmount.MemberVSChargeItemID = memberVSChargeItemID; viewMemberAmount.AccountID = accountID; viewMemberAmount.AccountNumber = accountNumber; viewMemberAmount.Due = due; viewMemberAmount.CreatedDate = createdDate; return viewMemberAmount; }
/// <summary> /// 用于向 ViewMemberAmount EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToViewMemberAmount(ViewMemberAmount viewMemberAmount) { base.AddObject("ViewMemberAmount", viewMemberAmount); }