Exemplo n.º 1
0
 /// <summary>
 /// Create a new Authors object.
 /// </summary>
 /// <param name="authorID">Initial value of the AuthorID property.</param>
 /// <param name="lName">Initial value of the LName property.</param>
 public static Authors CreateAuthors(global::System.Int32 authorID, global::System.String lName)
 {
     Authors authors = new Authors();
     authors.AuthorID = authorID;
     authors.LName = lName;
     return authors;
 }
Exemplo n.º 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(Authors authors)
 {
     base.AddObject("Authors", authors);
 }