Пример #1
0
 /// <summary>
 /// Create a new Author object.
 /// </summary>
 /// <param name="authorID">Initial value of the AuthorID property.</param>
 public static Author CreateAuthor(global::System.String authorID)
 {
     Author author = new Author();
     author.AuthorID = authorID;
     return author;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Authors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAuthors(Author author)
 {
     base.AddObject("Authors", author);
 }