No easy way to incorporate custom methods in DataContext
Closed this issue · 0 comments
ssg commented
Since DataContext is a partial class, one can add extension methods to contain data access logic. Those methods which are added through partial class
definitions are not accessible through the interface.
It wouldn't be an issue if the methods were also declared in the interface and copied to the in-memory counterpart.
Still an amazing work. Thanks.