-
Notifications
You must be signed in to change notification settings - Fork 39
/
refdata.beef-5.yaml
49 lines (49 loc) · 1.71 KB
/
refdata.beef-5.yaml
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
webApiRoutePrefix: ref
//#if (implement_database)
autoImplement: Database
refDataType: Guid
databaseSchema: AppName
entities:
# The following is an example read-only reference data Entity accessing a SQL Database using Stored Procedures.
- { name: Gender }
//#endif
//#if (implement_sqlserver)
refDataType: Guid
autoImplement: EntityFramework
entities:
# The following is an example read-only reference data Entity accessing a SQL Database using EntityFramework.
- { name: Gender, entityFrameworkModel: EfModel.Gender }
//#endif
//#if (implement_mysql)
refDataType: int
autoImplement: EntityFramework
etagDefaultMapperConverter: EncodedStringToDateTimeConverter
entities:
# The following is an example read-only reference data Entity accessing a SQL Database using EntityFramework.
- { name: Gender, entityFrameworkModel: EfModel.Gender }
//#endif
//#if (implement_postgres)
refDataType: int
autoImplement: EntityFramework
etagDefaultMapperConverter: EncodedStringToUInt32Converter
entities:
# The following is an example read-only reference data Entity accessing a SQL Database using EntityFramework.
- { name: Gender, entityFrameworkModel: EfModel.Gender }
//#endif
//#if (implement_cosmos)
cosmosName: AppNameCosmosDb
refDataType: Guid
autoImplement: Cosmos
entities:
# The following is an example read-only reference data Entity accessing Cosmos DB.
- { name: Gender, cosmosContainerId: RefData, cosmosValueContainer: true, cosmosModel: Model.Gender, dataModel: true }
//#endif
//#if (implement_httpagent)
refDataType: Guid
entities:
# The following is an example read-only reference data Entity accessing data with no auto implementation.
- { name: Gender }
//#endif
//#if (implement_none)
refDataType: Guid
//#endif