Beispiel #1
0
 public static ConnectionDb getInstance()
 {
     if (Instance == null)
     {
         Instance = new ConnectionDb();
     }
     return(Instance);
 }
Beispiel #2
0
 public DOAMobile()
 {
     //_sqlconn = new SqlConnection(@"Data Source=FACULTY18;Initial Catalog=dbMobile;Integrated Security=False;User ID=sa;Password=sa9;Connect Timeout=15;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;MultiSubnetFailover=False");
     _sqlconn = ConnectionDb.getInstance().getConnection();
 }
Beispiel #3
0
 public DAOLogin()
 {
     _sqlconn = ConnectionDb.getInstance().getConnection();
 }