示例#1
0
        public static DBReadWrite getInstance()
        {
            if (instance == null)
            {
                instance = new DBReadWrite();
            }

            return(instance);
        }
示例#2
0
 public static void clearInstance()
 {
     instance = null;
 }
 public void addimage(string username, byte[] image)
 {
     DBReadWrite.getInstance().insertimageQuery(username, image);
 }
 private LoginRegistrationQuery()
 {
     dbReadWrite = DBReadWrite.getInstance();
 }
示例#5
0
 private SearchQuery()
 {
     dbReadWrite = DBReadWrite.getInstance();
 }