/// <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); }
/// <summary> /// Deprecated Method for adding a new object to the MusicTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMusicTypes(MusicType musicType) { base.AddObject("MusicTypes", musicType); }