コード例 #1
0
        static void Main(string[] args)
        {
            OrderService2 a = new OrderService2();

            a.AddOrder("n1", "n2", "n3", "10000", "n4");
            a.AddOrder("b1", "b2", "b3", "100000", "b4");
            a.AddOrder("c1", "c2", "c3", "10001", "c4");
            a.AddOrder("d1", "d2", "d3", "100", "d4");
            a.LinqSearchOrder();
        }
コード例 #2
0
        static void Main(string[] args)
        {
            OrderService2 a = new OrderService2();

            a.AddOrder("n1", "n2", "n3", "10000", "n4");
            a.AddOrder("b1", "b2", "b3", "100000", "b4");
            a.AddOrder("c1", "c2", "c3", "10001", "c4");
            a.AddOrder("d1", "d2", "d3", "100", "d4");
            //a.LinqSearchOrder();
            a.Export(a.orderStore);
            a.Import(a.orderStore, a.xmlSerializer);
            Console.Read();
        }