コード例 #1
0
 public void Add(Publisher publisher)
 {
     _context.Add(publisher);
     _context.SaveChanges();
 }
コード例 #2
0
 public void Add(Characteristics characteristics)
 {
     _context.Add(characteristics);
     _context.SaveChanges();
 }
コード例 #3
0
 public void Add(Genre genre)
 {
     _context.Add(genre);
     _context.SaveChanges();
 }
コード例 #4
0
 public void Add(Author author) //Add
 {
     _context.Add(author);
     _context.SaveChanges();
 }
コード例 #5
0
 public void Add(Author author)
 {
     author.DateCreated = DateTime.Now;
     _context.Add(author);
     _context.SaveChanges();
 }
コード例 #6
0
ファイル: ReaderServices.cs プロジェクト: efua-ye/CYBER_ASS
 public void Add(Reader reader)
 {
     _context.Add(reader);
     _context.SaveChanges();
 }
コード例 #7
0
 public void Add(Book book)
 {
     _context.Add(book);
     _context.SaveChanges();
 }
コード例 #8
0
 public void Add(Category category)
 {
     _context.Add(category);
     _context.SaveChanges();
 }
コード例 #9
0
ファイル: CategoryServices.cs プロジェクト: efua-ye/CYBER_ASS
 public void Add(Category category)
 {
     category.DateCreated = DateTime.Now;
     _context.Add(category);
     _context.SaveChanges();
 }
コード例 #10
0
ファイル: GenreServices.cs プロジェクト: efua-ye/CYBER_ASS
 public void Add(Genre genre)
 {
     genre.DateCreated = DateTime.Now;
     _context.Add(genre);
     _context.SaveChanges();
 }
コード例 #11
0
ファイル: BookServices.cs プロジェクト: efua-ye/CYBER_ASS
 public void Add(Book book)
 {
     book.DateCreated = DateTime.Now;
     _context.Add(book);
     _context.SaveChanges();
 }