Constructor
new DefaultDataContext()
Properties:
Name | Type | Description |
---|---|---|
db |
DataAdapter | Gets a data adapter based on the current configuration settings. |
- Source:
adapters: [
...
{ "name":"development", "invariantName":"...", "default":false,
"options": {
"server":"localhost",
"user":"user",
"password":"password",
"database":"test"
}
},
{ "name":"development_with_pool", "invariantName":"pool", "default":true,
"options": {
"adapter":"development"
}
}
...
]
Name | Type | Description |
---|---|---|
db |
DataAdapter | Gets a data adapter based on the current configuration settings. |