/// <summary> /// Create a new author object. /// </summary> /// <param name="au_id">Initial value of the au_id property.</param> /// <param name="au_lname">Initial value of the au_lname property.</param> /// <param name="au_fname">Initial value of the au_fname property.</param> /// <param name="phone">Initial value of the phone property.</param> /// <param name="contract">Initial value of the contract property.</param> public static author Createauthor(global::System.String au_id, global::System.String au_lname, global::System.String au_fname, global::System.String phone, global::System.Boolean contract) { author author = new author(); author.au_id = au_id; author.au_lname = au_lname; author.au_fname = au_fname; author.phone = phone; author.contract = contract; return author; }
/// <summary> /// Deprecated Method for adding a new object to the authors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToauthors(author author) { base.AddObject("authors", author); }