public void RemoveGameFileTag(IEnumerable <IGameFile> gameFiles, ITagData tag) { TagMapping tagMapping = new TagMapping(); foreach (IGameFile gameFile in gameFiles) { tagMapping.TagID = tag.TagID; tagMapping.FileID = gameFile.GameFileID.Value; DataSourceAdapter.DeleteTagMapping(tagMapping); } }