Beispiel #1
0
        public string NextId()
        {
            int    next = SeqVal.Next(connexion, "seqEquipeDetails");
            string id   = "" + next;

            while (id.Length < 4)
            {
                id = "0" + id;
            }
            return("ED" + id);
        }
Beispiel #2
0
        public string NextId()
        {
            int    next = SeqVal.Next(connexion, "seqProchainePartie");
            string id   = "" + next;

            while (id.Length < 3)
            {
                id = "0" + id;
            }
            return("PP" + id);
        }
Beispiel #3
0
        public string NextId()
        {
            int    next = SeqVal.Next(connexion, "seqAction");
            string id   = "" + next;

            while (id.Length < 2)
            {
                id = "0" + id;
            }
            return("ACT" + id);
        }
Beispiel #4
0
        public string NextId()
        {
            int    next = SeqVal.Next(connexion, "seqJoueur");
            string id   = "" + next;

            while (id.Length < 3)
            {
                id = "0" + id;
            }
            return("J" + id);
        }