Te ayudara

Solo disponible en BuenasTareas
  • Páginas : 2 (491 palabras )
  • Descarga(s) : 0
  • Publicado : 6 de abril de 2010
Leer documento completo
Vista previa del texto
LatticeFramework Studio – Quick Start

How do I create XEML model?
This tutorial will show you how to create a model for a simple Order Management system with three business entities: Customer,Order and OrderLine. A Customer is associated with a one-tomany Order. This model can be easily extended to include new business entities and relationships using the standard toolbox, and it can beconfigured using the properties window. You can find the complete model under Models directory named OrderManagement.xeml.

Create a new schema
1. Click New Schema button at toolbar.

2. Expandattributes node, and then select name attribute. 3. Change ‘Schema1’ to ‘MySchema’ at Properties window.

©2009 Lattice Business Software Intl., Inc.

LatticeFramework Studio – Quick Start

Add anew Entity
1. Drag Entity item from toolbox and drop to entities node at Tree

2. Expand attributes node, and then select name attribute. 3. Change ‘entity’ to ‘Customer’ at Properties window. 4.Expand Properties, Property, and then attributes node under Customer entity.

©2009 Lattice Business Software Intl., Inc.

Page 2 of 7

LatticeFramework Studio – Quick Start

5. Select nameattribute and change it to CustomerID 6. Select type attribute and change it to int 7. Select nullable attribute and change it to false

Add a new Property
1. Drag Property item from toolbox and dropto properties node under Customer entity.

©2009 Lattice Business Software Intl., Inc.

Page 3 of 7

LatticeFramework Studio – Quick Start

2. Select name attribute and change it to FirstName.3. Repeat above steps to add LastName, Address, City, State, Zip and Phone properties.

Define Primary Key
1. Expand Keys node, then PrimaryKey and Attributes under Customer entity. 2. Select nameattribute and change it to PK_Customer.

©2009 Lattice Business Software Intl., Inc.

Page 4 of 7

LatticeFramework Studio – Quick Start

3. Expand Key node, and then Attributes node under...
tracking img