Exemple #1
0
        public static NumberDAO Number_NumberDAO(PhoneNumber s)
        {
            var e = new NumberDAO();

            e.ID     = s.PhoneNumberID;
            e.Number = s.PhoneNumber1;
            return(e);
        }
Exemple #2
0
        public static PhoneNumber NumberDAO_Number(NumberDAO s)
        {
            var e = new PhoneNumber();

            e.PhoneNumberID = s.ID;
            e.PhoneNumber1  = s.Number;
            return(e);
        }