In order to be able to set those properties for all entities in a common way it would be easier if they have a base class or implement a common interface that contain the CreatedBy / LastUpdatedBy properties. Both approaches could be modeled with the visual designer, please feel free to ask us if you are unsure how to achieve this.
Afterwards you could extend your context class with another partial class (just make sure the class name and namespace are exactly the same) and create an additional method which wraps the call to SaveChanged but also updates the user information for the inserted/updated objects in the current transaction. Then you can call this method instead of SaveChanges() on all places in the application where you are committing a transaction.
The example below shows how the partial class extending the context would look like. In this case my test classes implement a common interface named IUserInfo:
var changes =
Hope that helps.
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!