Class1.cs
上传用户:lxycoco
上传日期:2022-07-21
资源大小:38457k
文件大小:1k
- using System;
- using Wrox.ProCSharp.EnterpriseServices;
- namespace NorthwindClient
- {
- /// <summary>
- /// Summary description for Class1.
- /// </summary>
- class Class1
- {
- /// <summary>
- /// The main entry point for the application.
- /// </summary>
- [STAThread]
- static void Main(string[] args)
- {
- Order order = Order.Create("PICCO", DateTime.Today, "Georg Pipps",
- "Salzburg", "Austria");
- order.AddOrderLine(OrderLine.Create(16, 17.45F, 2));
- order.AddOrderLine(OrderLine.Create(67, 14, 1));
- OrderControl orderControl = new OrderControl();
- orderControl.NewOrder(order);
- }
- }
- }