示例#1
0
        public void TasarimAyariGuncelle(enTasarimAyar ayar)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();

            dict.Add("tasAy_degeri", ayar.Degeri);

            FxMySqlHelper.Update("TasarimAyarlari", dict, "tasAy_id", ayar.Id);
        }
示例#2
0
        public void StatuGuncelle(enAdmin admin)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();

            dict.Add("adm_statu", admin.Statu);

            FxMySqlHelper.Update("Admin", dict, "adm_id", admin.Id);
        }
示例#3
0
        public void ResimSiraGuncelle(enIcerikResim resim)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();
            List <object> degerList          = new List <object>();

            dict.Add("icrkRes_sira", resim.Sira);
            FxMySqlHelper.Update("IcerikResimleri", dict, "icrkRes_id", resim.Id);
        }
示例#4
0
        public void VarsayilanDiziDuncelle(enDizi dizi)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();

            dict.Add("dizi_degeri", dizi.VarsayilanDegeri);

            FxMySqlHelper.Update("Diziler", dict, "dizi_id", dizi.Id);
        }
示例#5
0
        public void BlokStatuGuncelle(enBlok blok)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();

            dict.Add("blok_statu", blok.Statu);

            FxMySqlHelper.Update("Bloklar", dict, "blok_id", blok.Id);
        }
示例#6
0
        public void SiraGuncelle(int sosId, int sira)
        {
            Dictionary <string, object> pair = new Dictionary <string, object>();

            pair.Add("sos_sira", sira);

            FxMySqlHelper.Update("SosyalMedya", pair, "sos_id", sosId);
        }
示例#7
0
        public void YanMenudeGoster(enSosyalMedya sos)
        {
            Dictionary <string, object> pair = new Dictionary <string, object>();

            pair.Add("sos_yanMenu", sos.sos_yanMenu);

            FxMySqlHelper.Update("SosyalMedya", pair, "sos_id", sos.sos_id);
        }
示例#8
0
        public void StatuGuncelle(int sosId, bool statu)
        {
            Dictionary <string, object> pair = new Dictionary <string, object>();

            pair.Add("sos_statu", statu);

            FxMySqlHelper.Update("SosyalMedya", pair, "sos_id", sosId);
        }
示例#9
0
        public void ResimStatuGuncelle(enCarouselResim resim)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();

            dict.Add("carRes_statu", resim.Statu);

            FxMySqlHelper.Update("CarouselResimleri", dict, "carRes_id", resim.Id);
        }
示例#10
0
        public void FooterdaGoster(enSosyalMedya sos)
        {
            Dictionary <string, object> pair = new Dictionary <string, object>();

            pair.Add("sos_footer", sos.sos_menu);

            FxMySqlHelper.Update("SosyalMedya", pair, "sos_id", sos.sos_id);
        }
示例#11
0
        public void Guncelle(enAdmin admin)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();

            dict.Add("adm_kullAdi", admin.KullaniciAdi);
            dict.Add("adm_sifre", admin.Sifre);

            FxMySqlHelper.Update("Admin", dict, "adm_id", admin.Id);
        }
示例#12
0
        public void AyarGuncelle(enGenelAyar ayar)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();

            dict.Add("gayr_icerik", ayar.Icerik);
            dict.Add("gayr_statu", ayar.Statu);

            FxMySqlHelper.Update("GenelAyarlar", dict, "gayr_id", ayar.Id);
        }
示例#13
0
        public void NavUrlGuncelle(enCarouselResim resim)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();


            dict.Add("carRes_navUrl", resim.NavUrl);

            FxMySqlHelper.Update("CarouselResimleri", dict, "carRes_id", resim.Id);
        }
示例#14
0
        public void AnaResimYap(enIcerikResim resim)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();
            List <object> degerList          = new List <object>();

            dict.Add("icrkRes_anaResim", resim.AnaResim);

            FxMySqlHelper.Update("IcerikResimleri", dict, "icrkRes_id", resim.Id);
        }
        public void VideoAciklamaGuncelle(enIcerikVideo video)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();
            List <object> degerList          = new List <object>();

            dict.Add("icrkVid_aciklama", video.Aciklama);

            FxMySqlHelper.Update("IcerikVideolari", dict, "icrkVid_id", video.Id);
        }
示例#16
0
        public void StatuDegistir(enCarousel carousel)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();
            List <object> degerList          = new List <object>();

            dict.Add("car_statu", carousel.Statu);

            FxMySqlHelper.Update("Carousel", dict, "car_id", carousel.Id);
        }
示例#17
0
        public void FotoVideoLinkGuncelle(enCarouselResim resim)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();


            dict.Add("carRes_fotoLink", resim.FotoLink);
            dict.Add("carRes_videoLink", resim.VideoLink);

            FxMySqlHelper.Update("CarouselResimleri", dict, "carRes_id", resim.Id);
        }
示例#18
0
        public void ResimAciklamaGuncelle(enIcerikResim resim)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();
            List <object> degerList          = new List <object>();

            dict.Add("icrkRes_aciklama", resim.Aciklama);
            dict.Add("icrkRes_baslik", resim.Baslik);

            FxMySqlHelper.Update("IcerikResimleri", dict, "icrkRes_id", resim.Id);
        }
示例#19
0
        public void Guncelle(enSosyalMedya media)
        {
            Dictionary <string, object> pair = new Dictionary <string, object>();

            pair.Add("sos_adi", media.sos_adi);
            pair.Add("sos_ikonu", media.sos_ikonu);
            pair.Add("sos_url", media.sos_url);

            FxMySqlHelper.Update("SosyalMedya", pair, "sos_id", media.sos_id);
        }
示例#20
0
        public void BlokGuncelle(enBlok blok)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();

            dict.Add("blok_adi", blok.Adi);
            dict.Add("blok_icerik", blok.Icerik);
            dict.Add("blok_baslik", blok.BaslikKullanimi);
            dict.Add("blok_sayfa_id", blok.SayfaId);
            dict.Add("blok_aciklama", blok.Aciklama);
            dict.Add("blok_car_id", blok.CarouselId);

            FxMySqlHelper.Update("Bloklar", dict, "blok_id", blok.Id);
        }
示例#21
0
        public void GmapGuncelle(enGmap gmap)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();
            List <object> degerList          = new List <object>();

            dict.Add("gmap_lat", gmap.Latitude); degerList.Add(gmap.Latitude);
            dict.Add("gmap_long", gmap.Longitude); degerList.Add(gmap.Longitude);
            dict.Add("gmap_apiKey", gmap.APIKey); degerList.Add(gmap.APIKey);
            dict.Add("gmap_statu", gmap.Statu); degerList.Add(gmap.Statu);
            dict.Add("gmap_metin", gmap.Metin); degerList.Add(gmap.Metin);

            FxMySqlHelper.Update("GMap", dict, "gmap_id", gmap.Id);
        }
示例#22
0
        public void Duzenle(enCarousel carousel)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();
            List <object> degerList          = new List <object>();

            dict.Add("car_site_id", carousel.SayfaId);
            dict.Add("car_adi", carousel.Adi);
            dict.Add("car_statu", carousel.Statu);
            dict.Add("car_degisiklikTar", DateTime.Now.Date);
            dict.Add("car_degistiren", SessionManager.Admin.Id);
            dict.Add("car_tekrarSayisi", carousel.TekrarSayisi);
            dict.Add("car_gosterimSuresi", carousel.GosterimSuresi);

            FxMySqlHelper.Update("Carousel", dict, "car_id", carousel.Id);
        }