/// <summary> /// Create a new Genre object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="sortOrder">Initial value of the SortOrder property.</param> public static Genre CreateGenre(global::System.Int32 id, global::System.String name, global::System.Int32 sortOrder) { Genre genre = new Genre(); genre.Id = id; genre.Name = name; genre.SortOrder = sortOrder; return genre; }
/// <summary> /// Deprecated Method for adding a new object to the Genre EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGenre(Genre genre) { base.AddObject("Genre", genre); }