示例#1
0
        /// <summary>
        /// Create a new MusicType object.
        /// </summary>
        /// <param name="typeId">Initial value of the typeId property.</param>
        /// <param name="description">Initial value of the description property.</param>
        public static MusicType CreateMusicType(global::System.Byte typeId, global::System.String description)
        {
            MusicType musicType = new MusicType();

            musicType.typeId      = typeId;
            musicType.description = description;
            return(musicType);
        }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MusicTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMusicTypes(MusicType musicType)
 {
     base.AddObject("MusicTypes", musicType);
 }