-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.yaml
More file actions
51 lines (40 loc) · 1.49 KB
/
sample.yaml
File metadata and controls
51 lines (40 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# the connection string to the database
connectionString: "Data Source=(local);Initial Catalog=Tracker;Integrated Security=True"
# the database provider name. Default:SqlServer
provider: SqlServer
# config name to read the connection string from the user secrets file
connectionName: "ConnectionStrings:Generator"
# the user secret identifier, can be shared with .net core project
userSecretsId: "984ef0cf-2b22-4fd1-876d-e01499da4c1f"
# the directory to output the configuration. Default is current.
outputDirectory: .\
# tables to include or empty to include all
tables:
- Priority
- Status
- Task
- User
# schemas to include or empty to include all
schemas:
- dbo
# exclude tables or columns
exclude:
# list of expressions for tables to exclude, source is Schema.TableName
tables:
- exact: dbo.SchemaVersions
- regex: dbo\.SchemaVersions$
# list of expressions for columns to exclude, source is Schema.TableName.ColumnName
columns:
- exact: dbo.SchemaVersions\.Version
- regex: dbo\.SchemaVersions\.Version$
# how to generate entity class names from the table name. Preserve|Plural|Singular. Default: Singular
entityNaming: Singular
# how to generate relationship collections names for the entity. Default: Plural
relationshipNaming: Plural
# Rename entities and properties with regular expressions. Matched expressions will be removed.
renaming:
entities:
- ^(sp|tbl|udf|vw)_
properties:
- ^{Table.Name}(?=Id|Name)
#templateFilePath: ./template/dab-config1.csx