Database mapping for SQL (SQL code)
For Database scoped Tables, the name of a Database is used as a prefix for the name of its generated Tables. The names of parent Packages are ignored.
|
If a value is set for the CODE_GENERATION_NAME property of a Table, the name of the parent Database is ignored.
|
Examples
Database1 owns Table1.
If you generate Table1 using the SQL Server 2017 ACS Code Generator DLL (or 2019), the creation file includes the following text.
CREATE TABLE Database1Table1 (
);