You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to change the line in BuildEntities() from if (!reader.HasRows) return; to if (!reader.HasRows) continue; otherwise I only got stored proc scripts generated and not views. I think this was because I had no functions in the target database and the BuildEntities loop was being exited prematurely.
The text was updated successfully, but these errors were encountered:
The return statement causes the program to exit early. Suppose that a database does not contain any stored procedures. PoweruP will not generate any scripts, even if the database contains other scriptable objects.
sliekens
added a commit
to sliekens/powerup
that referenced
this issue
Jun 29, 2015
I had to change the line in BuildEntities() from
if (!reader.HasRows) return;
toif (!reader.HasRows) continue;
otherwise I only got stored proc scripts generated and not views. I think this was because I had no functions in the target database and the BuildEntities loop was being exited prematurely.The text was updated successfully, but these errors were encountered: