Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Custom table naming

Daniel Wertheim edited this page Nov 29, 2012 · 5 revisions

Currently, there is a static class that holds a simple static property StructureNamePrefix representing a prefix that you could prefix each table with. You can assign a maximum of 10 chars to this prefix.

DbSchemaNamingPolicy.StructureNamePrefix = "XYZ";

This future might me removed in the next major release (v17.0.0) and you could instead use the below.

An alternative way

The user used with the connection can be assigned a certain schema. That way all tables etc using that user will end up belonging to that schema.

Clone this wiki locally