Reputation: 15477
What's the best way to tie my tables (like Customer, Orders) to the Users in the membership tables. Is there a way to tie it using an int somehow?
Upvotes: 5
Views: 209
Reputation: 30006
You can use the User.ProviderUserKey
but that is a GUID, not an int. That will map to the UserId field in the aspnet_Membership table
Upvotes: 4