Beispiel #1
0
        public static TitleDAO MapToTitleDAO(Title title)
        {
            var t = new TitleDAO();

            t.Id   = title.TitleId;
            t.Name = title.Name;

            return(t);
        }
        public bool InsertTitle(TitleDAO title)
        {
            var t = new Title();

            t.TitleName = title.Name;
            t.TitleId   = title.Id;

            return(ef.InsertTitle(t));
        }
Beispiel #3
0
 public static Title MapToTitle(TitleDAO title)
 {
     throw new NotImplementedException();
 }