/// <summary> /// Create a new Artist object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="modified">Initial value of the Modified property.</param> public static Artist CreateArtist(global::System.Int32 id, global::System.String name, global::System.DateTime created, global::System.DateTime modified) { Artist artist = new Artist(); artist.ID = id; artist.Name = name; artist.Created = created; artist.Modified = modified; return artist; }
/// <summary> /// Deprecated Method for adding a new object to the Artists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToArtists(Artist artist) { base.AddObject("Artists", artist); }