예제 #1
0
 public List<string> getBookTitleA()
 {
     SA40Team07bEntities ctx = new SA40Team07bEntities();
     List<string> b = new List<string>();
     b = (from x in ctx.Books
          select x.BookTitle).ToList();
     return b;
 }
예제 #2
0
 public List<Book> getBookTitle()
 {
     SA40Team07bEntities ctx = new SA40Team07bEntities();
        List<Book> b = new List<Book>();
     b = (from x in ctx.Books
          select x).ToList();
     return b;
 }
예제 #3
0
        public List <string> getBookTitleA()
        {
            SA40Team07bEntities ctx = new SA40Team07bEntities();
            List <string>       b   = new List <string>();

            b = (from x in ctx.Books
                 select x.BookTitle).ToList();
            return(b);
        }
예제 #4
0
        public List <Book> getBookTitle()
        {
            SA40Team07bEntities ctx = new SA40Team07bEntities();
            List <Book>         b   = new List <Book>();

            b = (from x in ctx.Books
                 select x).ToList();
            return(b);
        }