Exemplo n.º 1
0
Arquivo: Core.cs Projeto: AokiMiku/ACP
        public Bilder GetBilder(int cosplan_nr)
        {
            Bilder bilder = new Bilder
            {
                Where = "Cosplan_Nr = " + cosplan_nr
            };

            bilder.Read();
            return(bilder);
        }
Exemplo n.º 2
0
Arquivo: Core.cs Projeto: AokiMiku/ACP
        public void SaveBild(int cosplan_nr, byte[] bild)
        {
            Bilder bilder = new Bilder
            {
                Cosplan_Nr = cosplan_nr,
                Bild       = bild
            };

            bilder.Save(ApS.Databases.SqlAction.Insert);
        }
Exemplo n.º 3
0
Arquivo: Core.cs Projeto: AokiMiku/ACP
        public void DeleteBild(int nummer)
        {
            Bilder bilder = new Bilder
            {
                Where = "Nummer = " + nummer
            };

            bilder.Read();
            if (!bilder.EoF)
            {
                bilder.Delete();
            }
        }