C# operation on the database (including additions, deletions, and changes)