Example #1
0
 /// <summary>
 /// 创建新的 ViewCreditInfo 对象。
 /// </summary>
 /// <param name="creditCardNumber">CreditCardNumber 属性的初始值。</param>
 /// <param name="creditCardID">CreditCardID 属性的初始值。</param>
 public static ViewCreditInfo CreateViewCreditInfo(global::System.String creditCardNumber, global::System.Guid creditCardID)
 {
     ViewCreditInfo viewCreditInfo = new ViewCreditInfo();
     viewCreditInfo.CreditCardNumber = creditCardNumber;
     viewCreditInfo.CreditCardID = creditCardID;
     return viewCreditInfo;
 }
Example #2
0
 /// <summary>
 /// 用于向 ViewCreditInfo EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToViewCreditInfo(ViewCreditInfo viewCreditInfo)
 {
     base.AddObject("ViewCreditInfo", viewCreditInfo);
 }