Beispiel #1
0
            /// <summary>
            /// Removes a statement from the cache by its command string.
            /// </summary>
            /// <param name="commandString">The command string used to prepare the statement.</param>
            private void RemoveCachedStatement(string commandString)
            {
                SqlStatement statement = this.statementCache[commandString];

                this.statementCache.Remove(commandString);

                statement.Dispose();
            }