| | |
| | | using Dapper; |
| | | namespace GZ.Projects.HnSx |
| | | { |
| | | /// <summary> |
| | | /// 闆嗘垚浜掕仈 |
| | | /// </summary> |
| | | public class Conn |
| | | { |
| | | public static GZ.Modular.Log.ILogger log榛樿鏃ュ織 = null; |
| | | public static GZ.Modular.Redis.RedisTagHelper 榛樿Redis = new GZ.Modular.Redis.RedisTagHelper(log榛樿鏃ュ織); |
| | | public Conn() |
| | | { |
| | | string[] allKeys = System.Configuration.ConfigurationManager.AppSettings.AllKeys; |
| | | log榛樿鏃ュ織 = new GZ.Modular.Log.NLogger("NLogger",7,"",true,"mongodb://localhost:27017?connectTimeoutMS=3000&socketTimeoutMS=5000","HnSx"); |
| | | |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 闆嗘垚浜掕仈 |
| | | /// </summary> |
| | | public class Conn |
| | | { |
| | | public static GZ.Modular.Log.ILogger log榛樿鏃ュ織 = null; |
| | | public static GZ.Modular.Redis.RedisTagHelper 榛樿Redis = new GZ.Modular.Redis.RedisTagHelper(log榛樿鏃ュ織); |
| | | public Conn() |
| | | { |
| | | string[] allKeys = System.Configuration.ConfigurationManager.AppSettings.AllKeys; |
| | | log榛樿鏃ュ織 = new GZ.Modular.Log.NLogger("NLogger", 7, "", true, "mongodb://localhost:27017?connectTimeoutMS=3000&socketTimeoutMS=5000", "HnSx"); |
| | | } |
| | | } |
| | | } |