using System; using System.Linq; using System.Collections.Generic; namespace ConsoleApplication1 { class Orders { public int OrderID; public int EmployeeID; public DateTime OrderDate; public string ShipCountry; public Orders(int id, int emp, DateTime date, string ship) { this.OrderID = id; this.EmployeeID = emp; this.OrderDate = date; this.ShipCountry = ship; } } class Program { static void Main(s
![LINQによるデータベース・アクセスとO/Rマッピング](https://cdn-ak-scissors.b.st-hatena.com/image/square/41ab63f4b7e3c0f3384c6db9f4dfd12a893e949f/height=288;version=1;width=512/https%3A%2F%2Fimage.itmedia.co.jp%2Fait%2Farticles%2F0807%2F18%2Fl_dt-cslinq02_01.gif)