IdeaBlade DevForce 2010 Help Reference
EnableClientAccessAttribute Class
Members  See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.DomainServices Namespace : EnableClientAccessAttribute Class



Marks a class as containing methods providing CRUD access to POCO types.

Syntax

Visual Basic (Declaration) 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Class, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class EnableClientAccessAttribute 
   Inherits System.Attribute
   Implements System.Runtime.InteropServices._Attribute 
Visual Basic (Usage)Copy Code
Dim instance As EnableClientAccessAttribute
C# 
[AttributeUsageAttribute(ValidOn=AttributeTargets.Class, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class EnableClientAccessAttribute : System.Attribute, System.Runtime.InteropServices._Attribute  
C++/CLI 
[AttributeUsageAttribute(ValidOn=AttributeTargets.Class, 
   AllowMultiple=false, 
   Inherited=true)]
public ref class EnableClientAccessAttribute sealed : public System.Attribute, System.Runtime.InteropServices._Attribute  

Remarks

Provider classes containing methods to support CRUD operations on POCO types must be marked with EnableClientAccess attribute so that DevForce will discover these support methods.

Be sure to place your provider class in an assembly which will be deployed to your BOS in n-tier implementations.

(Same purpose as similar attribute in the System.Web.Ria namespace)

Inheritance Hierarchy

System.Object
   System.Attribute
      IdeaBlade.Core.DomainServices.EnableClientAccessAttribute

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

© 2013 All Rights Reserved.