
test-data
Read and write test data
作者 erymuzuan|オープンソース
Database access use SqlCmd.exe too
Tools
- SqlCmd.exe: for database access
- server: -S "(local)\DEV2022"
- Trust Server Certificate: -C
- trusted connection: -E
- database: -d "MotoRent"
Database
- MotoRent: for tenant, contains user data, such as
Shop,Vehicleetc. an d core objecs such asUser,Organizationetc.
Tenant schema
- MotoRent is multi-tenant application, where each tenant has it's own schema, the list of all tenants is kept in
Core.Organizationtable. - Tenant: Take
Shopas example, it's table name isShop, and it's schema name is<tenant>
JSON object
- JSON column is for serialized JSON data .Net object,as described in
MotoRent.Domainproject - Entity JSON data is a serialized object of
Entityclass,MotoRent.Domain.Entities.<table>, where<table>is theEntity - Primary key
<table>Idformat
Interview
- Interview use AskUserQuestion tools
- Tenant ask me about the tenant if one not specified, account