| | |
| | | namespace HStation.Xhs |
| | | { |
| | | public class ConfigHelper |
| | | internal class ConfigHelper |
| | | { |
| | | /// <summary> |
| | | /// 默认连接配置 |
| | |
| | | connectConfig = PostgreSqlConnectionConfig; |
| | | } |
| | | break; |
| | | |
| | | case DbType.SQLite: |
| | | { |
| | | connectConfig = SQLiteConnectionConfig; |
| | | } |
| | | break; |
| | | |
| | | default: break; |
| | | } |
| | | return connectConfig; |
| | |
| | | /// <summary> |
| | | /// PostgreSql连接配置 |
| | | /// </summary> |
| | | public static ConnectionConfig PostgreSqlConnectionConfig |
| | | internal static ConnectionConfig PostgreSqlConnectionConfig |
| | | { |
| | | get |
| | | { |
| | |
| | | /// <summary> |
| | | /// SQLite连接配置 |
| | | /// </summary> |
| | | public static ConnectionConfig SQLiteConnectionConfig |
| | | internal static ConnectionConfig SQLiteConnectionConfig |
| | | { |
| | | get |
| | | { |