コード例 #1
0
        public string NextId()
        {
            int    next = SeqVal.Next(connexion, "seqPariDetail");
            string id   = "" + next;

            while (id.Length < 6)
            {
                id = "0" + id;
            }
            return("PAD" + id);
        }
コード例 #2
0
ファイル: EquipeDAO.cs プロジェクト: GimmyR/footage
        public string NextId()
        {
            int    next = SeqVal.Next(connexion, "seqEquipe");
            string id   = "" + next;

            while (id.Length < 2)
            {
                id = "0" + id;
            }
            return("EQ" + id);
        }
コード例 #3
0
ファイル: JonctionDAO.cs プロジェクト: GimmyR/footage
        public string NextId()
        {
            int    next = SeqVal.Next(connexion, "seqJonction");
            string id   = "" + next;

            while (id.Length < 7)
            {
                id = "0" + id;
            }
            return("J" + id);
        }
コード例 #4
0
ファイル: PartieDAO.cs プロジェクト: GimmyR/footage
        public string NextId()
        {
            int    next = SeqVal.Next(connexion, "seqPartie");
            string id   = "" + next;

            while (id.Length < 3)
            {
                id = "0" + id;
            }
            return("PT" + id);
        }
コード例 #5
0
ファイル: RemboursementDAO.cs プロジェクト: GimmyR/footage
        public string NextId()
        {
            int    next = SeqVal.Next(connexion, "seqRemboursement");
            string id   = "" + next;

            while (id.Length < 7)
            {
                id = "0" + id;
            }
            return("R" + id);
        }