Microsoft.SqlServer.TransactSql.ScriptDom by Microsoft

<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="161.8905.0" />

.NET API 5,152,136 bytes

 CreateDatabaseStatement

Represents CREATE DATABASE statement
public AttachMode AttachMode { get; set; }

Attach mode (?)

public Identifier Collation { get; set; }

Collation identifier

The containment database option.

public MultiPartIdentifier CopyOf { get; set; }

Source database copy name.

public Identifier DatabaseName { get; set; }

Name of the database being created

public Identifier DatabaseSnapshot { get; set; }

Database snapshot name

Filegroups (including primary one) from LOG ON clause

public IList<FileDeclaration> LogOn { get; }

Log on file declarations.

public IList<DatabaseOption> Options { get; }

Database Options for Create Database