How to Script Out Entire Database in SQL Server

Create the Database with All objects