コード例 #1
0
        private static int GetRequestId()
        {
            KCRequestLogInq graph   = CreateInstance <KCRequestLogInq>();
            KCLog           lastLog = graph.LastLog.SelectSingle();

            return(lastLog?.RequestId + 1 ?? 1);
        }
コード例 #2
0
        private static int GetRequestId()
        {
            KCRequestLogInq graph   = CreateInstance <KCRequestLogInq>();
            KCLog           lastLog = graph.LastLog.SelectSingle();

            return(lastLog != null?lastLog.RequestId.GetValueOrDefault() + 1 : 1);
        }
コード例 #3
0
        public static KCLog GetLastLog()
        {
            KCRequestLogInq graph   = CreateInstance <KCRequestLogInq>();
            KCLog           lastLog = graph.LastLog.SelectSingle();

            return(lastLog);
        }