CreateTable function is used to create a new table in a database. This method may needs some privilege according to the database product and its version.
Tables are created according to the SchemaPrefix specified at connection's options.
(Exm. Name="table-name" , NameWithPrefix="[pfx]table-name").
Examples Following section demonstrates creating a table.
        {{hl}}var ddl = connection.DDL();{{/hl}}

		// by table alias
		var t0 = new Orders().AsQueryable();
        ddl.{{hl}}CreateTable(t0){{/hl}};

		// by table type
        ddl.{{hl}}CreateTable<Orders>(){{/hl}};
    
lYQxL5