/// <summary>
        /// Create a new TGenre object.
        /// </summary>
        /// <param name="id">Initial value of the ID property.</param>
        /// <param name="strName">Initial value of the strName property.</param>
        /// <param name="intSortOrder">Initial value of the intSortOrder property.</param>
        public static TGenre CreateTGenre(global::System.Int32 id, global::System.String strName, global::System.Int32 intSortOrder)
        {
            TGenre tGenre = new TGenre();

            tGenre.ID           = id;
            tGenre.strName      = strName;
            tGenre.intSortOrder = intSortOrder;
            return(tGenre);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the TGenres EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTGenres(TGenre tGenre)
 {
     base.AddObject("TGenres", tGenre);
 }