Exemple #1
0
 public static async Task <SQL_Request> OpenConnection(string connectionString = null)
 {
     if (connectionString == null)
     {
         SQL_Request request = new SQL_Request();
         return(await Task.FromResult <SQL_Request>(request.OpenConnection(SQLfunc._ConnectionString)));
     }
     else
     {
         SQL_Request request = new SQL_Request();
         return(await Task.FromResult <SQL_Request>(request.OpenConnection(connectionString)));
     }
 }