예제 #1
0
 public static List <CauHoi> getDSCauHoiDocPart1()
 {
     using (B1OnlineEntities context = new B1OnlineEntities())
     {
         return(context.CauHois.ToList());
     }
 }
예제 #2
0
 static void Main(string[] args)
 {
     // Display the number of command line arguments:
     using (B1OnlineEntities context = new B1OnlineEntities())
     {
         System.Console.WriteLine(context.CauHois.ToList());
     }
 }