Converting List to DataTable in C#

public static DataTable ConvertToDataTable<T>(IList<T> data)         {             PropertyDescriptorCollection properties =  

Introduction to Entity Framework

Entity Framework is an object-relational mapper (O/RM) that enables .NET developers to work with a database using .NET objects. It

Adding User To Role Using Identity

First Create a viewmodel  public class ApplicationUserRoleViewModel     {         public string UserId { get; set;

Converting DataTable to List

Calling from Controller  public ActionResult Index()         {             //join use