Exemplo n.º 1
0
 /// <summary>
 /// 用于向 CreditCardType EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToCreditCardType(CreditCardType creditCardType)
 {
     base.AddObject("CreditCardType", creditCardType);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 创建新的 CreditCardType 对象。
 /// </summary>
 /// <param name="creditCardTypeID">CreditCardTypeID 属性的初始值。</param>
 /// <param name="createdByID">CreatedByID 属性的初始值。</param>
 /// <param name="lastModifiedByID">LastModifiedByID 属性的初始值。</param>
 /// <param name="createdDate">CreatedDate 属性的初始值。</param>
 /// <param name="lastModifiedDate">LastModifiedDate 属性的初始值。</param>
 public static CreditCardType CreateCreditCardType(global::System.Guid creditCardTypeID, global::System.Guid createdByID, global::System.Guid lastModifiedByID, global::System.DateTime createdDate, global::System.DateTime lastModifiedDate)
 {
     CreditCardType creditCardType = new CreditCardType();
     creditCardType.CreditCardTypeID = creditCardTypeID;
     creditCardType.CreatedByID = createdByID;
     creditCardType.LastModifiedByID = lastModifiedByID;
     creditCardType.CreatedDate = createdDate;
     creditCardType.LastModifiedDate = lastModifiedDate;
     return creditCardType;
 }