コード例 #1
0
        public int GetTotalSesstionCount(string url)
        {
            LogCommandBuilder commandBuilder = new LogCommandBuilder();
            SqlCommand        query          = commandBuilder.GetTotalSesstionCount(url);

            return(DBManager.ExecuteScalar <int>(base.ConnectionHandler, query));
        }
コード例 #2
0
        public int GetSesstionCountBetweenDate(string url, string minDate, string maxDate)
        {
            LogCommandBuilder commandBuilder = new LogCommandBuilder();
            SqlCommand        query          = commandBuilder.GetSesstionCountBetweenDate(url, minDate, maxDate);

            return(DBManager.ExecuteScalar <int>(base.ConnectionHandler, query));
        }