I wanted to create programmatically a new table, which will list the user names and emails of all the users. Here's the code:
var query =
from u in myEntities.aspnet_Users
join m in myEntities.aspnet_Membership
equals m.UserId into userList
UserName = u.UserName,
Email = u.aspnet_Membership.Email,
I get no error when run the code, however, the userList table is not created.
Any help on this issue will be highly appreciated.
By the way, creating tables programmatically is not covered in this book. Is it covered in "Professional ASP.NET 4 in C# and VB