I have stored procedure as below:
ELSE IF @ActionType = 'insert'
BEGIN
insert into scheduler(scheduletype,schedulename,description,starttime,nexttime,stoptime,isstop,
scheduletime, workingweekdays, interval, fromtime, totime,months,
recurringday, dates, weeksequence, month_days, month_isdays, month_isweeks,active, enabled,
freefield1, freefield2, freefield3, freefield4, created_by, created_on)
values(@scheduletype,@schedulename,@description,@starttime,@nexttime,@stoptime,@isstop,
@scheduletime,@workingweekdays,@interval,@fromtime,@totime,@months,
@recurringday,@dates,@weeksequence,@month_days,@month_isdays,@month_isweeks,@active,@enabled,
@freefield1,@freefield2,@freefield3,@freefield4,@OperationBy,getdate())
select @@identity
END
I want this to be converted to LINQ query