Thanks for the reply. It's unfortunate that Linq To Sql generator
makes the code non-test friendly. I am forced to change property/
methods to virtual in the *.designer.cs file and redo that every time
it gets regenerated. Also, for those that are embarking on that
journey and decide to use the partial class to add additional
functionality, there is very nasty issue that I had to deal with,
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=361577.
Thanks,
Roman
On Jun 19, 11:17 pm, Daniel Cazzulino <
kzu....@gmail.com> wrote:
> yes.
> moq does for you what you'd have had to do yourself: inherit the class and
> override everything. if something is not virtual, it's not "hook-able".
>
> /kzu
>
> --
> Daniel Cazzulino | Developer Lead | XML MVP | Clarius Consulting | +1
>
425.329.3471
>