Exemplo n.º 1
0
 public static WorkDao getInstance()
 {
     if (instance == null)
     {
         instance = new WorkDao();
     }
     return(instance);
 }
Exemplo n.º 2
0
 public WorkDao GetWorkDao()
 {
     if (wdao == null)
     {
         wdao = WorkDao.getInstance();
     }
     return(wdao);
 }
Exemplo n.º 3
0
 public WorkDao GetWorkDao()
 {
     return(workDao == null ? workDao = WorkDao.getInstance() : workDao);
 }