/// <summary> /// Deprecated Method for adding a new object to the Acknowledgements EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAcknowledgements(Acknowledgement acknowledgement) { base.AddObject("Acknowledgements", acknowledgement); }
/// <summary> /// Create a new Acknowledgement object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="f_name">Initial value of the f_name property.</param> /// <param name="l_name">Initial value of the l_name property.</param> /// <param name="date_of_birth">Initial value of the date_of_birth property.</param> /// <param name="licence_no">Initial value of the licence_no property.</param> /// <param name="app_id">Initial value of the app_id property.</param> public static Acknowledgement CreateAcknowledgement(global::System.Int32 id, global::System.String f_name, global::System.String l_name, global::System.DateTime date_of_birth, global::System.String licence_no, global::System.Int32 app_id) { Acknowledgement acknowledgement = new Acknowledgement(); acknowledgement.id = id; acknowledgement.f_name = f_name; acknowledgement.l_name = l_name; acknowledgement.date_of_birth = date_of_birth; acknowledgement.licence_no = licence_no; acknowledgement.app_id = app_id; return acknowledgement; }