SyntaxFix
Write A Post
Hire A Developer
Questions
You can use anonymous types for example:
var empData = from res in _db.EMPLOYEEs where res.EMAIL == givenInfo || res.USER_NAME == givenInfo select new { res.EMAIL, res.USER_NAME };