/// <summary> /// Create a new AdComments object. /// </summary> /// <param name="ac_id">Initial value of the ac_id property.</param> /// <param name="a_id">Initial value of the a_id property.</param> /// <param name="u_username">Initial value of the u_username property.</param> /// <param name="ac_comment">Initial value of the ac_comment property.</param> /// <param name="ac_date">Initial value of the ac_date property.</param> public static AdComments CreateAdComments(global::System.Int32 ac_id, global::System.Int32 a_id, global::System.String u_username, global::System.String ac_comment, global::System.DateTime ac_date) { AdComments adComments = new AdComments(); adComments.ac_id = ac_id; adComments.a_id = a_id; adComments.u_username = u_username; adComments.ac_comment = ac_comment; adComments.ac_date = ac_date; return adComments; }
/// <summary> /// Deprecated Method for adding a new object to the AdComments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAdComments(AdComments adComments) { base.AddObject("AdComments", adComments); }