Exemplo n.º 1
0
        protected GlimpseDbQueryConnectionMetadata PullConnection(string connectionId)
        {
            GlimpseDbQueryConnectionMetadata connection;

            if (!Metadata.Connections.TryGetValue(connectionId, out connection))
            {
                connection = new GlimpseDbQueryConnectionMetadata(connectionId);
                Metadata.Connections.Add(connectionId, connection);
            }
            return(connection);
        }
Exemplo n.º 2
0
 protected GlimpseDbQueryConnectionMetadata PullConnection(string connectionId)
 {
     GlimpseDbQueryConnectionMetadata connection;
     if (!Metadata.Connections.TryGetValue(connectionId, out connection))
     {
         connection = new GlimpseDbQueryConnectionMetadata(connectionId);
         Metadata.Connections.Add(connectionId, connection);
     }
     return connection;
 }