Esempio n. 1
0
        public static tblAltSurec MapData(AltSurec altsurec)
        {
            tblAltSurec tblAlt = new tblAltSurec()
            {
                surecId         = altsurec.surecId,
                altSurecId      = altsurec.altSurecId,
                altSurecAdi     = altsurec.altSurecAdi,
                aciklama        = altsurec.aciklama,
                baslangicTarihi = Convert.ToDateTime(altsurec.baslangicTarihi),
                bitisTarihi     = Convert.ToDateTime(altsurec.bitisTarihi),
                bitirmeOrani    = altsurec.bitirmeOrani,
                durumId         = altsurec.durumId,
                oncelikId       = altsurec.oncelikId
            };

            return(tblAlt);
        }
Esempio n. 2
0
        public static AltSurec MapData(tblAltSurec altsurec)
        {
            AltSurec tblAlt = new AltSurec()
            {
                surecId         = altsurec.surecId,
                altSurecId      = altsurec.altSurecId,
                altSurecAdi     = altsurec.altSurecAdi,
                aciklama        = altsurec.aciklama,
                baslangicTarihi = altsurec.baslangicTarihi.ToString(),
                bitisTarihi     = altsurec.bitisTarihi.ToString(),
                bitirmeOrani    = altsurec.bitirmeOrani,
                durumId         = altsurec.durumId,
                oncelikId       = altsurec.oncelikId
            };

            return(tblAlt);
        }