- Xomega.Fwk_samples_1.3.zip
- AdventureWorks
- AdventureWorks.Client.Objects
- AdventureWorks.Client.Silverlight.Web
- AdventureWorks.Client.Silverlight
- AdventureWorks.Client.Web
- AdventureWorks.Client.WPF
- AdventureWorks.Entities
- AdventureWorks.Model
- _types.xom
- AdventureWorks.Model.xomproj
- aw_build_version.xom
- database_log.xom
- error_log.xom
- Framework
- base_operators.xom
- base_types.xom
- global.xom
- HumanResources
- department.xom
- employee.xom
- job_candidate.xom
- shift.xom
- Person
- address.xom
- address_type.xom
- contact.xom
- contact_type.xom
- country_region.xom
- state_province.xom
- Production
- bill_of_materials.xom
- culture.xom
- document.xom
- illustration.xom
- location.xom
- product.xom
- product_category.xom
- product_cost_history.xom
- product_description.xom
- product_document.xom
- product_inventory.xom
- product_list_price_history.xom
- product_model.xom
- product_model_illustration.xom
- product_model_product_description_culture.xom
- product_photo.xom
- product_product_photo.xom
- product_review.xom
- product_subcategory.xom
- scrap_reason.xom
- transaction_history.xom
- transaction_history_archive.xom
- unit_measure.xom
- work_order.xom
- work_order_routing.xom
- Purchasing
- product_vendor.xom
- purchase_order_detail.xom
- purchase_order_header.xom
- ship_method.xom
- vendor.xom
- Sales
- contact_credit_card.xom
- country_region_currency.xom
- credit_card.xom
- currency.xom
- currency_rate.xom
- customer.xom
- customer_address.xom
- individual.xom
- sales_order_detail.xom
- sales_order_header.xom
- sales_person.xom
- sales_reason.xom
- sales_tax_rate.xom
- sales_territory.xom
- sales_territory_history.xom
- shopping_cart_item.xom
- special_offer.xom
- special_offer_product.xom
- store.xom
- store_contact.xom
- AdventureWorks.Services
- AdventureWorks.sln
- Readme.txt
- Xomega.Fwk_src_1.3.zip
- Xomega.Framework
- xomega.fwk_src_1.3.zip
|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by an Xomega.Net generator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using AdventureWorks.Client.Objects;
using System;
using Xomega.Framework;
using Xomega.Framework.Properties;
namespace AdventureWorks.Client.Objects
{
public partial class EmployeeRowObject : DataObject
{
#region Constants
public const string Address = "Address";
public const string Current = "Current";
public const string FirstName = "FirstName";
public const string Gender = "Gender";
public const string HireDate = "HireDate";
public const string Id = "Id";
public const string LastName = "LastName";
public const string Manager = "Manager";
public const string Salaried = "Salaried";
public const string StateId = "StateId";
public const string Title = "Title";
#endregion
#region Properties
public BooleanProperty CurrentProperty { get; private set; }
public TextProperty FirstNameProperty { get; private set; }
public EnumProperty GenderProperty { get; private set; }
public DateProperty HireDateProperty { get; private set; }
public IntegerProperty IdProperty { get; private set; }
public TextProperty LastNameProperty { get; private set; }
public TextProperty ManagerProperty { get; private set; }
public BooleanProperty SalariedProperty { get; private set; }
public StateProperty StateIdProperty { get; private set; }
public TextProperty TitleProperty { get; private set; }
#endregion
#region Child Objects
public AddressObject AddressObject { get { return (AddressObject)GetChildObject(Address); } }
#endregion
#region Construction
protected override void Initialize()
{
CurrentProperty = new BooleanProperty(this, Current);
CurrentProperty.Required = true;
FirstNameProperty = new TextProperty(this, FirstName);
FirstNameProperty.Size = 50;
GenderProperty = new EnumProperty(this, Gender);
GenderProperty.Required = true;
GenderProperty.Size = 1;
GenderProperty.EnumType = "gender";
HireDateProperty = new DateProperty(this, HireDate);
HireDateProperty.Required = true;
IdProperty = new IntegerProperty(this, Id);
LastNameProperty = new TextProperty(this, LastName);
LastNameProperty.Size = 50;
ManagerProperty = new TextProperty(this, Manager);
ManagerProperty.Size = 50;
SalariedProperty = new BooleanProperty(this, Salaried);
StateIdProperty = new StateProperty(this, StateId);
TitleProperty = new TextProperty(this, Title);
TitleProperty.Required = true;
TitleProperty.Size = 50;
AddChildObject(Address, new AddressObject());
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Xomega Team is striving to increase productivity and development quality by utilizing Model Driven Development coupled with Code Generation and the best design practices for application development.
We provide MDD tools, code generators and frameworks for Visual Studio and .Net development.
Visit us at
http://www.xomega.net