|
using CodeEffects.Rule.Attributes;
namespace CodeEffects.Rule.Demo.Filter.Mvc.Models
{
// See the following article for details on this class and why do we need to declare it:
// http://rule.codeeffects.com/Doc/Preserving-Attributes-In-Auto-Generated-Classes
// Tell Web Rule to ignore members of the base EntityObject
[Source(DeclaredMembersOnly = true)]
// Dynamic menu data source. Read more about it at
// http://rule.codeeffects.com/Doc/Business-Rules-Dynamic-Menu-Data-Sources
[Data("Countries", typeof(Utility), "GetCountries")]
public partial class Customer : ICustomer
{
[Field(DataSourceName = "Numbers")]
public int TestNumber { get; set; }
}
}
|
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.