Beispiel #1
0
        internal static SqlConnection GetConnection(String connectionString)
        {
            SqlConnection con = new System.Data.SqlClient.SqlConnection(connectionString);

            SqlConnectionLifetimeTracker.TrackSqlConnectionLifetime(con);
            return(con);
        }
 public static void TrackSqlConnectionLifetime(SqlConnection con)
 {
     SqlConnectionLifetimeTracker lt = new SqlConnectionLifetimeTracker(con);
 }
Beispiel #3
0
 public static void TrackSqlConnectionLifetime(SqlConnection con)
 {
     SqlConnectionLifetimeTracker lt = new SqlConnectionLifetimeTracker(con);
 }