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