コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CouponTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCouponTypes(CouponTypes couponTypes)
 {
     base.AddObject("CouponTypes", couponTypes);
 }
コード例 #2
0
 /// <summary>
 /// Create a new CouponTypes object.
 /// </summary>
 /// <param name="ct_id">Initial value of the ct_id property.</param>
 /// <param name="ct_name">Initial value of the ct_name property.</param>
 public static CouponTypes CreateCouponTypes(global::System.Int32 ct_id, global::System.String ct_name)
 {
     CouponTypes couponTypes = new CouponTypes();
     couponTypes.ct_id = ct_id;
     couponTypes.ct_name = ct_name;
     return couponTypes;
 }