Example #1
0
 //Create project database in main SQL server
 public bool CreateProject(matty.Models.ConnID Conn)
 {
     var m = new mattyDB("192.168.42.10","master","sa","mps@1234");
     m.CreateProjectDB(Conn.DBName);
     m.AddToolDB(Conn.DBName);
     return false;
 }
Example #2
0
 public bool TestConnect(matty.Models.ConnID Conn)
 {
     var o = new OracleDB(Conn.HostName,Conn.DBName, Conn.DBPort, Conn.DBUSER, Conn.DBPWD);
     return o.TestConnect();
 }
Example #3
0
 public bool HasPIPINGMOD(matty.Models.ConnID Conn)
 {
     var o = new OracleDB(Conn.HostName, Conn.DBName, Conn.DBPort, Conn.DBUSER, Conn.DBPWD);
     return o.HasPIPINGMOD();
 }
Example #4
0
 public void AttachPIPINGMOD(matty.Models.ConnID Conn)
 {
     var o = new OracleDB(Conn.HostName, Conn.DBName, Conn.DBPort, Conn.DBUSER, Conn.DBPWD);
     o.AttachPIPINGMOD();
 }