Hi everyone,
ALTER TABLE preventiveRecord
ADD Verifiedbymanager BIT NOT NULL
CONSTRAINT preventive_verify DEFAULT 0 WITH VALUES
ALTER TABLE preventiveRecord
ADD Verifiedbysupervisor BIT NOT NULL
CONSTRAINT preventive_verify DEFAULT 0 WITH VALUES
SELECT [ID]
,[Date_Done]
,[Date_Due]
,[SME]
,[Status]
,[History_ID]
,[Remark]
,[Verifiedbysupervisor]
,[Verifiedbymanager]
FROM [demo].[dbo].[preventiveRecord]
Here is my query :
from d in p.preventiveRecords.Where(d => d.Date_Done != null && p.preventiveRecords.Where( e =>e.VerifiedbySupervisor == null))
Please help me to how to return the value.