扩展了一套通过兼容ADO.NET的组件连接不同数据库的功能。
下面是本机、本地的access的配置
config.json
{
"name": "acc01",
"type": "access",
"connectionString": "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\123.mdb;Persist Security Info=False"
},
问题一:需求:如何实现局域网?
ACCESS的数据库123.mdb在局域网的服务器的电脑的“仓库系统”的 CKData文件里,在局域网的服务器的电脑IP:192.168.245
具体的路径:D:\\仓库系统\ CKData\123.mdb
问题二: "defaultConnection": "acc01","name": "acc01",这二个中的"acc01"可以随便改吗?
{
"dbSettings": {
"defaultConnection": "acc01",
"connectionStrings": [
{
"name": "sqlserver01",
"type": "sqlserver",
"connectionString": "EA15E16B5A5E80A0B8F64FD80551F5C3B5C5109FEBBABE8AEEA40934EAB1D85925F254F3967C56EFCAC1DF6EFDBD77FF5FE075E1AA1CA75767DAF84EA4A206A1CF9CD21AA7F85E334AB30A75C365FDB31F0B28DAD846F6995DF15A428CF373710EA72F7BB56AE6C7316663134F7AB1DC"
},
{
"name": "acc01",
"type": "access",
"connectionString": "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\123.mdb;Persist Security Info=False"
},