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