示例#1
0
 public static void Create(string connString)
 {
     if (_instance != null)
     {
         throw new Exception("Object SXGenericRepository already created");
     }
     _instance = new SXGenericRepository(connString);
 }
 private EntityMessageRepository(SXGenericRepository redis)
 {
     _redis = redis;
 }