public decimal?UpdateLastLocation(QoalaEntities context) { var outParameter = new ObjectParameter("ROWCOUNT", typeof(decimal)); context.SP_UPDATE_LAST_LOCATION(ID_DEVICE, LAST_LONGITUDE, LAST_LATITUDE, outParameter); return(1); }