Exemple #1
0
 public void DeleteArtist(int id)
 {
     m_context.DeleteArtist(id);
 }
Exemple #2
0
 /// <summary>
 /// Deletes the artist and all assoicaited objects
 /// Uses a Function mapped stored procedure. Does not delete the assoiciated membership
 /// provider records. You do not need to call saveChanges after calling this method.
 /// </summary>
 /// <param name="id">The ID of the artist that you would like to delete.</param>
 public void Delete(int id)
 {
     m_ent.DeleteArtist(id);
 }