예제 #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();
 }