This example below will fail at because the stored procedure name contains a period.
DbCommand
commandWrapper = database.GetStoredProcCommand("(v_guiRollRateMBA).GetForCollateralGroup");
This will suceed:
DbCommand commandWrapper = database.GetStoredProcCommand("[(v_guiRollRateMBA).GetForCollateralGroup]");
All references to stored procedures should be fully qualified with brackets.