Exemple #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);
        }
Exemple #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;
 }