コード例 #1
0
 /// <summary>
 /// Create a new Genre object.
 /// </summary>
 /// <param name="genreID">Initial value of the GenreID property.</param>
 public static Genre CreateGenre(global::System.Int32 genreID)
 {
     Genre genre = new Genre();
     genre.GenreID = genreID;
     return genre;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Genre EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGenre(Genre genre)
 {
     base.AddObject("Genre", genre);
 }