Search code examples
dynamic-datapartial-classes

DynamicData Partial Class not working


Partial class not working with Dynamic Data. I'm not using the default dynamicdata project type, but rather just using it on a control-by-control basis


Solution

  • I'm answering my own question straight after posting it, because it took me ages to find the solution, so I thought I'd try and save anyone searching some time. An easy fix, but not obvious. You need to make sure your dbml and partial class are in the SAME namespace.