Xomega.Net How-To Guides
This page provides an index to some useful guides on how to perform various development and modeling tasks using Xomega.Net.
warning
The guides here point to older topics in our forums, which also allow you to post your comments or ask for clarifications in reply to each topic. These topics will be eventually migrated to the new documentation format.
Environment
Object Model and Database
- How to import model from a database.
- How to define a new domain object.
- How to set up an object key.
- How to work with composite keys.
- How to define child objects.
- How to define a logical type.
- How to establish a relationship between objects.
- How to reference an object with a composite key.
- How to reuse a set of fields in multiple objects.
- How to map an object name to a database table.
- How to map a field to a database column.
- How to map a logical type to a database type.
- How to map a logical type to an EMD data type.
- How to generate an Entity Data Model.
- How to create a database from the model.
- How to update a database from the model.
Service Model
- How to generate CRUD operations for an object.
- How to define a new operation on an object.
- How to specify a collection for operation parameters.
- How to define nested structures inline.
- How to reuse a structure across operations.
- How to configure additional WCF operation attributes.
- How to map a logical type to a CLR data type.
- How to generate WCF service contracts.
- How to create service implementations.
- How to configure namespaces for generated services.
- How to generate server/client WCF service configuration.
- How to generate IIS service host files.
Presentation Layer
- How to define UI data objects based on service operations.
- How to map a logical type to a Data Property.
- How to map a logical type to a UI control.
- How to generate data objects for the View Models.
- How to customize generated UI data objects.
- How to generate a powerful search form.
- How to generate an object details form.
- How to bind UI controls to Data Properties.
- How to automatically mark required fields.
- How to display a formatted combination of several properties.
- How to populate data objects from service calls.
- How to validate data objects on the UI.
- How to implement custom UI property validations.
- How to implement custom UI data object validations.
- How to enable multi-request WCF service call sessions.
- How to save data objects through service calls.
- How to support checking for modifications.
- How to enable/disable property-bound controls.
- How to hide/show property-bound controls.
Static Data and Lists of Values
- How to define static enumerations in the model.
- How to define dynamic enumerations in the model.
- How to associate a logical type with an enumeration.
- How to load static data into a lookup cache.
- How to populate a list of values for selection controls.
- How to control/filter a list of values for EnumProperty.
- How to implement cascading selection lists.
- How to reference enumeration data from your code.
- How to model a generic database dictionary for static data.
- How to import static data from a database dictionary.
- How to load model static data into a database dictionary.
- How to inherit/override one enumeration from another.
- How to customize static data by implementation.
Generating Documentation
- How to generate a Domain Model Design document.
- How to generate a Service Model Design document.
- How to generate a Static Data Design document.
- How to customize generated document's properties.
- How to customize the style of the generated document.
- How to customize the contents of the generated document.
- How to output simple content from the model.
- How to output repeating content from the model.
- How to output conditional content from the model.
Customization and Extensibility
- How to customize collapsing to definitions.
- How to extend the model via custom additional configurations.
- How to customize an existing generator.
- How to debug XSLT-based generators.
- How to define a generator parameter.
- How to add a generator to the model project.
- How to create a new generator.
- How to provide Intellisense for custom attributes.
- How to add custom model validations.
- How to include new elements in the Find References.