Пример #1
0
 /// <summary>
 /// 用于向 FastpayAccounts EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToFastpayAccounts(FastpayAccounts fastpayAccounts)
 {
     base.AddObject("FastpayAccounts", fastpayAccounts);
 }
Пример #2
0
 /// <summary>
 /// 创建新的 FastpayAccounts 对象。
 /// </summary>
 /// <param name="accountID">AccountID 属性的初始值。</param>
 /// <param name="payAmount">PayAmount 属性的初始值。</param>
 /// <param name="creditCardNumber">CreditCardNumber 属性的初始值。</param>
 /// <param name="holderName">HolderName 属性的初始值。</param>
 /// <param name="zIP">ZIP 属性的初始值。</param>
 /// <param name="accountNumber">AccountNumber 属性的初始值。</param>
 /// <param name="state">State 属性的初始值。</param>
 /// <param name="city">City 属性的初始值。</param>
 /// <param name="address">Address 属性的初始值。</param>
 /// <param name="sendEmail">SendEmail 属性的初始值。</param>
 /// <param name="expriationDate">ExpriationDate 属性的初始值。</param>
 /// <param name="isDeleted">IsDeleted 属性的初始值。</param>
 /// <param name="createdByID">CreatedByID 属性的初始值。</param>
 /// <param name="lastModifiedByID">LastModifiedByID 属性的初始值。</param>
 /// <param name="createdDate">CreatedDate 属性的初始值。</param>
 /// <param name="lastModifiedDate">LastModifiedDate 属性的初始值。</param>
 public static FastpayAccounts CreateFastpayAccounts(global::System.Guid accountID, global::System.Decimal payAmount, global::System.String creditCardNumber, global::System.String holderName, global::System.String zIP, global::System.String accountNumber, global::System.String state, global::System.String city, global::System.String address, global::System.String sendEmail, global::System.String expriationDate, global::System.Boolean isDeleted, global::System.Guid createdByID, global::System.Guid lastModifiedByID, global::System.DateTime createdDate, global::System.DateTime lastModifiedDate)
 {
     FastpayAccounts fastpayAccounts = new FastpayAccounts();
     fastpayAccounts.AccountID = accountID;
     fastpayAccounts.PayAmount = payAmount;
     fastpayAccounts.CreditCardNumber = creditCardNumber;
     fastpayAccounts.HolderName = holderName;
     fastpayAccounts.ZIP = zIP;
     fastpayAccounts.AccountNumber = accountNumber;
     fastpayAccounts.State = state;
     fastpayAccounts.City = city;
     fastpayAccounts.Address = address;
     fastpayAccounts.SendEmail = sendEmail;
     fastpayAccounts.ExpriationDate = expriationDate;
     fastpayAccounts.IsDeleted = isDeleted;
     fastpayAccounts.CreatedByID = createdByID;
     fastpayAccounts.LastModifiedByID = lastModifiedByID;
     fastpayAccounts.CreatedDate = createdDate;
     fastpayAccounts.LastModifiedDate = lastModifiedDate;
     return fastpayAccounts;
 }