| Milos Overview |
| Business Entities |
//Create a new invoice (C#) InvoiceBusinessEntity oInvoice = new InvoiceBusinessEntity(); //Or load an existing invoice //InvoiceBusinessEntity oInvoice = new InvoiceBusinessEntity("123456"); //Access and assign information about the invoice console.WriteLine( oInvoice.FooterText ); console.WriteLine( oInvoice.Terms ); oInvoice.InvoiceDate = DateTime.Now; //Add, modify, delete line items on the invoice oInvoice.LineItems.Add(100,"Great Products"); oInvoice.LineItems[0].Description = "This is some cool descriptive text"; oInvoice.LineItems[0].ProductImage = Bitmap.FromFile("c:\\prodimg.jpg"); oInvoice.Addresses.Add(AddressTypes.Shipping,"13810 CFD","Houston"); //Save the invoice oInvoice.Save();
Using a Business Entity to get or set a customer's name
Using the Developer Services tool to create a new Business Object and Business Entity
Define a new Business Objects and Business Entity with the Developer Services tool
Pairs of Business Objects and Business Entites in a project