Beispiel #1
0
        static void Main(string[] args)
        {
            List <Customer> customers = CustomerContext.GetALL();

            foreach (Customer cst in customers)
            {
            }
        }
Beispiel #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'panditAutomobileDBDataSet.Employees' table. You can move, or remove it, as needed.
            List <Customer> customers = CustomerContext.GetALL();

            foreach (Customer cst in customers)
            {
                string strCst = cst.FirstName + " " + cst.Lastname;

                this.listView1.Items.Add(strCst);
            }
        }