예제 #1
0
 /// <summary>
 /// Create a new Ads object.
 /// </summary>
 /// <param name="a_id">Initial value of the a_id property.</param>
 /// <param name="ac_id">Initial value of the ac_id property.</param>
 /// <param name="a_postedby">Initial value of the a_postedby property.</param>
 /// <param name="a_date">Initial value of the a_date property.</param>
 /// <param name="a_expirationdate">Initial value of the a_expirationdate property.</param>
 /// <param name="a_location">Initial value of the a_location property.</param>
 /// <param name="a_subject">Initial value of the a_subject property.</param>
 /// <param name="a_description">Initial value of the a_description property.</param>
 /// <param name="a_approved">Initial value of the a_approved property.</param>
 public static Ads CreateAds(global::System.Int32 a_id, global::System.Int32 ac_id, global::System.String a_postedby, global::System.DateTime a_date, global::System.DateTime a_expirationdate, global::System.String a_location, global::System.String a_subject, global::System.String a_description, global::System.Boolean a_approved)
 {
     Ads ads = new Ads();
     ads.a_id = a_id;
     ads.ac_id = ac_id;
     ads.a_postedby = a_postedby;
     ads.a_date = a_date;
     ads.a_expirationdate = a_expirationdate;
     ads.a_location = a_location;
     ads.a_subject = a_subject;
     ads.a_description = a_description;
     ads.a_approved = a_approved;
     return ads;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Ads EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAds(Ads ads)
 {
     base.AddObject("Ads", ads);
 }