public static SqlConnectionManager CreateNamedPipe(string server, string instanceName, string databaseName)
        {
            SqlConnectionManager Obj = new SqlConnectionManager();

            Obj._server       = server;
            Obj._instanceName = instanceName;
            Obj._databaseName = databaseName;
            Obj._protocol     = SqlConnectionProtocol.NamedPipe;

            return(Obj);
        }
        public static SqlConnectionManager CreateTCPIP(string server, string instanceName, string databaseName, string username, string password)
        {
            SqlConnectionManager Obj = new SqlConnectionManager();

            Obj._server       = server;
            Obj._instanceName = instanceName;
            Obj._databaseName = databaseName;
            Obj._protocol     = SqlConnectionProtocol.TCPIP;
            Obj._username     = username;
            Obj._password     = password;

            return(Obj);
        }