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) | ![]() |
---|---|
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 |
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)System.Object
System.Attribute
IdeaBlade.Core.DomainServices.EnableClientAccessAttribute
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