/// <summary> /// Create a new Artist object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="attendedCount">Initial value of the AttendedCount property.</param> /// <param name="relationshipId">Initial value of the RelationshipId property.</param> public static Artist CreateArtist(global::System.Guid id, global::System.Int32 attendedCount, global::System.Guid relationshipId) { Artist artist = new Artist(); artist.Id = id; artist.AttendedCount = attendedCount; artist.RelationshipId = relationshipId; return artist; }
/// <summary> /// Deprecated Method for adding a new object to the Artist EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToArtist(Artist artist) { base.AddObject("Artist", artist); }