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
Read moreEntity Framework is an object-relational mapper (O/RM) that enables .NET developers to work with a database using .NET objects. It
Read moreFirst Create a viewmodel public class ApplicationUserRoleViewModel { public string UserId { get; set;
Read moreCalling from Controller public ActionResult Index() { //join use
Read morepublic DataTable List(string sql) { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings[“DefaultConnection”].ConnectionString);
Read more