/// <summary> /// Create a new mybook object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="authorId">Initial value of the AuthorId property.</param> public static mybook Createmybook(global::System.Int32 id, global::System.Int32 authorId) { mybook mybook = new mybook(); mybook.Id = id; mybook.AuthorId = authorId; return(mybook); }
/// <summary> /// Create a new mybook object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="authorId">Initial value of the AuthorId property.</param> public static mybook Createmybook(global::System.Int32 id, global::System.Int32 authorId) { mybook mybook = new mybook(); mybook.Id = id; mybook.AuthorId = authorId; return mybook; }
/// <summary> /// Deprecated Method for adding a new object to the mybooks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTomybooks(mybook mybook) { base.AddObject("mybooks", mybook); }