Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Take MVC to the Next Level in .NET

, 30 Apr 2013 GPL3
How to quickly build reusable and flexible WPF, Silverlight, or ASP.NET applications with the powerful Xomega Framework using the best MVVM principles.
xomega.fwk_src_1.3.zip
Xomega.Framework
Binding
DataObjects
DataProperties
Lookup
pkg
Package.nuspec
Properties
Services
Silverlight
Web
XomegaFrameworkSamples.zip
MyProject4
MyProject4.Client.Objects
Properties
Sales
MyProject4.Client.Web
Gen
MyProject4.Client.WPF
Gen
MyProject4.Client.WPF.csproj.user
Properties
Settings.settings
MyProject4.Entities
EntityModel.edmx
MyProject4.Entities.csproj.user
Properties
Sales
Services
MyProject4.Model
Framework
base_types.xom
operators.xom
global_config.xom
Import
aw_build_version.xom
database_log.xom
error_log.xom
HumanResources
department.xom
employee.xom
employee_address.xom
employee_department_history.xom
employee_pay_history.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
vendor_address.xom
vendor_contact.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_person_quota_history.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
_types.xom
MyProject4.Model.xomproj
MyProject4.Services
Properties
Sales
//------------------------------------------------------------------------------
// <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 System;
using Xomega.Framework;
using Xomega.Framework.Properties;

namespace MyProject4.Client.Objects
{
    public partial class StoreCriteria : DataObject
    {
        // overridden to perform cross-field validation
        public override void Validate(bool force)
        {
            base.Validate(force);

            if (CreatedDateFromProperty.Value.HasValue && CreatedDateToProperty.Value.HasValue &&
                CreatedDateToProperty.Value < CreatedDateFromProperty.Value)
            {
                validationErrorList.AddError("{0} cannot be later than {1}",
                    CreatedDateFromProperty, CreatedDateToProperty);
            }
        }
    }

}

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.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)

Share

About the Author

Xomega Team
Architect Xomega.Net
United States United States
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
Group type: Organisation

1 members

Follow on   Twitter

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141216.1 | Last Updated 30 Apr 2013
Article Copyright 2013 by Xomega Team
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid