Click here to Skip to main content
15,891,423 members
Articles / Web Development / ASP.NET

Take MVC to the Next Level in .NET

Rate me:
Please Sign up or sign in to vote.
4.62/5 (11 votes)
30 Apr 2013GPL315 min read 73.2K   858   75  
How to quickly build reusable and flexible WPF, Silverlight, or ASP.NET applications with the powerful Xomega Framework using the best MVVM principles.
//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------

namespace MyProject4.Enumerations
{
    #region Operators
    public class Operators
    {
        ///<summary>
        /// Xomega enumeration name that this class is based on.
        ///</summary>
        public const string EnumName = "operators";

        ///<summary>
        /// Additional attributes for enumeration operators.
        ///</summary>
        public class Attributes
        {
            ///<summary>
            /// Defines the sort order of the operators with respect to other operators.
            ///</summary>
            public const string SortOrder = "sort order";
            ///<summary>
            /// The number of additional data properties that the operator needs.
            /// 0 (default) means it needs no additional values, 1 means it needs a value and 2 is for ranges that need both ends.
            ///</summary>
            public const string AddlProps = "addl props";
            ///<summary>
            /// 1 if the additional property can be multi-valued, 0 otherwise.
            ///</summary>
            public const string Multival = "multival";
            ///<summary>
            /// Fully qualified type of the additional property, which this operator applies to.
            /// It will also apply to all subclasses of this type. Multiple types can be specified.
            ///</summary>
            public const string Type = "type";
            ///<summary>
            /// Fully qualified type of the additional property, which this operator does not apply to.
            /// It won't also apply to all subclasses of this type. Multiple exclude types can be specified.
            /// Exclude types should be generally more concrete than include types.
            ///</summary>
            public const string ExcludeType = "exclude type";
            ///<summary>
            /// 1 for null checks, otherwise 0 (default).
            ///</summary>
            public const string NullCheck = "null check";
        }

        ///<summary>
        /// Checks if the target value is blank.
        ///</summary>
        public const string IsNull = "NULL";
        ///<summary>
        /// Checks if the target value is not blank.
        ///</summary>
        public const string IsNotNull = "NOTNULL";
        ///<summary>
        /// Checks if the target value is equal to the specified value.
        ///</summary>
        public const string IsEqualTo = "IS";
        ///<summary>
        /// Checks if the target value is not equal to the specified value.
        ///</summary>
        public const string IsNotEqualTo = "ISNOT";
        ///<summary>
        /// Checks if the target value is one of the values listed.
        ///</summary>
        public const string IsOneOf = "ONEOF";
        ///<summary>
        /// Checks if the target value is none of the values listed.
        ///</summary>
        public const string IsNoneOf = "NONEOF";
        ///<summary>
        /// Checks if the target value is less than the specified values.
        ///</summary>
        public const string IsLessThan = "LESS";
        ///<summary>
        /// Checks if the target value is not less than the specified values.
        ///</summary>
        public const string IsNotLessThan = "NOTLESS";
        ///<summary>
        /// Checks if the target value is greater than the specified values.
        ///</summary>
        public const string IsGreaterThan = "GREATER";
        ///<summary>
        /// Checks if the target value is not greater than the specified values.
        ///</summary>
        public const string IsNotGreaterThan = "NOTGREATER";
        ///<summary>
        /// Checks if the target date/time is earlier the specified date/time.
        ///</summary>
        public const string IsEarlierThan = "EARLIER";
        ///<summary>
        /// Checks if the target date/time is later the specified date/time.
        ///</summary>
        public const string IsLaterThan = "LATER";
        ///<summary>
        /// Checks if the target value is between the specified values.
        ///</summary>
        public const string IsBetween = "BETWEEN";
        ///<summary>
        /// Checks if the target value contains the specified string.
        ///</summary>
        public const string Contains = "CONT";
        ///<summary>
        /// Checks if the target value does not contain the specified string.
        ///</summary>
        public const string DoesNotContain = "NOTCONT";
    }
    #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.

License

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


Written By
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
This is a Organisation

1 members

Comments and Discussions