mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-13 20:56:36 +08:00
配置文件开关,数据库读写分离
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Yi.Framework.Common.IOCOptions
|
||||
{
|
||||
public class MySqlConnOptions
|
||||
public class DbConnOptions
|
||||
{
|
||||
public string Url { get; set; }
|
||||
public string WriteUrl { get; set; }
|
||||
public List<string> ReadUrl { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user