Part of what seemed strange to me to use ActiveRecord was to inherit from ActiveRecordBase<T> and have all these save methods on your object ( Save , etc.).
But it turns out you donβt have to! Instead of saying:
[ActiveRecord] class Customer : ActiveRecordBase<Customer> { }
You can just
[ActiveRecord] class Customer : inherit from whatever you want { }
and then use ActiveRecordMediator<Customer> . It has basically the same static methods as ActiveRecordBase<T> , but in this way you do not need to clutter up your object model with them. If you donβt need various protected method event locks in ActiveRecordBase<T> , this can make things easier.
source share