0
I would like to bring a result of a days calculation using mvc with Entity frame.
My appointment would be this :
select
Notas_IdSoft, Notas_TipoLic, t.Notas_Validade,
DATEDIFF(DAY, GETDATE(), t.Notas_Validade ) as Data
from Notas as t
where
DATEDIFF(DAY, GETDATE(), t.Notas_Validade ) >10
I’d like to apply it to my page, but I don’t know how I do it.