Пример #1
0
        public void DeleteForChar(uint characterId)
        {
            var characterAppearances = _charContext.CreateTrackingQuery(_charContext.CharacterAppearanceEntries)
                                       .Where(e => e.CharacterId == characterId);

            _charContext.CharacterAppearanceEntries.RemoveRange(characterAppearances);
        }