SPToCore icon indicating copy to clipboard operation
SPToCore copied to clipboard

Stored Procedures with data type of Money are not mapped

Open jasjnr02 opened this issue 5 years ago • 2 comments

When scaffolding a stored procedure with a parameter type of "money", the procedure is skipped because it is unmapped in the following places: private static string SP_GetType(string type, bool isNullable)

        else if (type == "uniqueidentifier")
            return "Guid" + (isNullable ? "?" : "");
        **else if (type == "money")
            return "decimal" + (isNullable ? "?" : "");**   

private static string SP_GetDbType(string type)

         else if (type == "uniqueidentifier")
            return "Guid";
        **else if (type == "money")
            return "decimal";**
      

jasjnr02 avatar Sep 29 '20 11:09 jasjnr02

You are right @jasjnr02 , I will include it asap... Thanks to support !

DarioN1 avatar Sep 30 '20 07:09 DarioN1

same problem with type "float" not mapped

naji-makhoul avatar Jan 14 '21 12:01 naji-makhoul