Exemplo n.º 1
0
        private static int GetRequestId()
        {
            KCRequestLogInq graph   = CreateInstance <KCRequestLogInq>();
            KCLog           lastLog = graph.LastLog.SelectSingle();

            return(lastLog?.RequestId + 1 ?? 1);
        }
        private static int GetRequestId()
        {
            KCRequestLogInq graph   = CreateInstance <KCRequestLogInq>();
            KCLog           lastLog = graph.LastLog.SelectSingle();

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

            return(lastLog);
        }