次の方法で共有


LinqToEntitiesDomainServiceDescriptionProviderAttribute クラス

LINQ to Entities マップ型を公開するドメイン サービスを指定します。

名前空間: System.ServiceModel.DomainServices.EntityFramework
アセンブリ: System.ServiceModel.DomainServices.EntityFramework (system.servicemodel.domainservices.entityframework.dll 内)

使用方法

'使用
Dim instance As LinqToEntitiesDomainServiceDescriptionProviderAttribute

構文

'宣言
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple:=True, Inherited:=False)> _
Public NotInheritable Class LinqToEntitiesDomainServiceDescriptionProviderAttribute
    Inherits DomainServiceDescriptionProviderAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true, Inherited=false)] 
public sealed class LinqToEntitiesDomainServiceDescriptionProviderAttribute : DomainServiceDescriptionProviderAttribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple=true, Inherited=false)] 
public ref class LinqToEntitiesDomainServiceDescriptionProviderAttribute sealed : public DomainServiceDescriptionProviderAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true, Inherited=false) */ 
public final class LinqToEntitiesDomainServiceDescriptionProviderAttribute extends DomainServiceDescriptionProviderAttribute
AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true, Inherited=false) 
public final class LinqToEntitiesDomainServiceDescriptionProviderAttribute extends DomainServiceDescriptionProviderAttribute

解説

LinqToEntitiesDomainServiceDescriptionProviderAttribute 属性をドメイン サービスに適用して、ドメイン サービスが LINQ to Entities マップ型を公開するように指定します。通常、この属性は LinqToEntitiesDomainService クラスに既に適用されているため、手動で適用する必要はありません。ドメイン サービスが LINQ to Entities 型を公開する場合、LinqToEntitiesDomainService クラスは、新しいドメイン サービス クラスを追加ウィザードを使用して作成するドメイン サービス クラスの基本クラスになります。LINQ to Entities 型を公開する場合はこの属性を手動で適用する必要がありますが、LinqToEntitiesDomainService クラスから派生するドメイン サービス クラスを使用する必要はありません。

継承階層

System.Object
   System.Attribute
     System.ServiceModel.DomainServices.Server.DomainServiceDescriptionProviderAttribute
      System.ServiceModel.DomainServices.EntityFramework.LinqToEntitiesDomainServiceDescriptionProviderAttribute

スレッド セーフ

この型の public static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008、および Windows 2000

ターゲット プラットフォーム

参照

リファレンス

LinqToEntitiesDomainServiceDescriptionProviderAttribute のメンバー
System.ServiceModel.DomainServices.EntityFramework 名前空間