Saturday, September 17, 2016

To fetch all the data from the table using linq c#

public List<taskdetail> Display()
        {

            var query = (from d in dbcontext.taskdetails
                         select d
                        ).ToList();

            return query;

        }

No comments:

Post a Comment

Git Commands

Git Version   To check the git version Git -v       Git Clone To clone the repository, use the following command: Git clone [u...