In WPF app I have a timer which cyclically performs some database quering operations (LINQ to SQL) and visual controls updating operations by calling a particular method.
Sometimes I need to call this the same method by UI events (button clicks, for example).
Is there any danger, in case timer-based calling and UI event-based calling of this the same method take place simultaneiously? Or .NET framework protects me from a danger like this?
Is using one method in a way like this totally OK?