Exemplo n.º 1
0
        static void Main(string[] args)
        {
            ProgrammingLanguagesEntities db = new ProgrammingLanguagesEntities();

            List<Language> languages = db.Languages.ToList();

            foreach(Language l in languages)
            {
                Console.WriteLine(l.Name);
            }
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            ProgrammingLanguagesEntities db = new ProgrammingLanguagesEntities();

            List <Language> languages = db.Languages.ToList();

            foreach (Language l in languages)
            {
                Console.WriteLine(l.Name);
            }
        }