Creating a POCO

Creating the Poco

namespace Northwind.Training.PocosAndXml
{
    public class OrderPoco
    {
        public int OrderID;
        public string CustomerID;
        public int Shipper;
    }
} 

Using the Poco

    class Demo
    {
        public void Run()
        {
            var o = new OrderPoco
            {
                OrderID = 1,
                CustomerID = "ABCDE",
                Shipper = 3
            };
        }
    } 

Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com