Here\'s what I want the resulting class declaration to look like:
public sealed partial class Refund : DataObjectBase { }
}<
If you use Expressions to CodeDOM it could be
var cls = Define.Class("Refund", TypeAttributes.Public | TypeAttributes.Sealed, true) .Inherits(CodeDom.TypeRef("DataObjectBase","Refund"))