When using SubSonic 3.0.0.3 and the StoredProcedures.tt template, the generated code won't compile and gives an error of:
... 'DB' does not contain a definition for 'Provider' ...
This is in the calling method for the sproc.
StoredProcedure sp = new StoredProcedure("Company_Get", this.Provider);
Am I missing something or is there a bug in the 3.0 templates for generating wrappers around sprocs?