Yes, you can. I have been looking for a solution to the problem in the past for a long time. Parameters ef dbcontext scaffoldare not well documented. Solution as a parameter -t several times :
dnx ef dbcontext scaffold ... -t dbo.Users -t dbo.UserPosts
I described the use in ef dbcontext scaffoldmore detail in the answer . It contains a link to a note on a design project .
UPDATED: Starting with .NET Core RC2, you should use dotnet ef dbcontext scaffold instead dnx ef dbcontext scaffold.
source
share