The invocation order of the action.               
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public Property Order As Double  | 
 
| C# |   | 
|---|
public double Order {get; set;} | 
 
            
            
             
            
            
            
            
            
Example
| C# |  Copy Code | 
|---|
public partial class Employee {
    
  // Sample interceptors with the Order attribute set.
  // Lower values are executed before higher values.
  // Here, BeforeGetLastName2 will be executed before BeforeGetLastName3.
  
  [BeforeGet(EntityPropertyNames.LastName, Order = 3.0)]
  public static void BeforeGetLastName3(IPropertyInterceptorArgs args) {
    var emp = args.Instance as Employee;
    Console.WriteLine("emp:BeforeGetLastName3");
  }
 [BeforeGet(EntityPropertyNames.LastName, Order = 2.0)]
  public static void BeforeGetLastName2(PropertyInterceptorArgs<Employee, String> args) {
    var emp = args.Instance as Employee;
    Console.WriteLine("emp:BeforeGetLastName2");
  }
} | 
 
 
            
            Remarks
            
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 
            
            
See Also