I am using a database-first approach and I have to call a stored procedure which is selecting records from multiple tables using an inner join.
Here is my stored procedure:
select
b.current_year as [Year], b.shortcode,
a.uid, a.ccode, accno, name, pname
from
pfemp a
inner join
destination b on a.uid = b.uid
where
a.ccode = @ccode