Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <summary>
 /// 用于向 ViewMemberAmount EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToViewMemberAmount(ViewMemberAmount viewMemberAmount)
 {
     base.AddObject("ViewMemberAmount", viewMemberAmount);
 }