Пример #1
0
        public BookBO NewBook(string _title, int _seriesID_FK)
        {
            int    _bookID = dataContext.AddBook(_title, _seriesID_FK);
            BookBO rval    = new BookBO();

            rval.BookID      = _bookID;
            rval.Title       = _title;
            rval.SeriesID_FK = _seriesID_FK;
            return(rval);
        }