InsertAttribute 클래스
DomainService 메서드가 삽입 메서드임을 지정합니다.
네임스페이스: System.ServiceModel.DomainServices.Server
어셈블리: system.servicemodel.domainservices.server.dll의 System.ServiceModel.DomainServices.Server
사용법
‘사용 방법
Dim instance As InsertAttribute
구문
‘선언
<AttributeUsageAttribute(AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Field, AllowMultiple:=False, Inherited:=True)> _
Public NotInheritable Class InsertAttribute
Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple=false, Inherited=true)]
public sealed class InsertAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Method|AttributeTargets::Property|AttributeTargets::Field, AllowMultiple=false, Inherited=true)]
public ref class InsertAttribute sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple=false, Inherited=true) */
public final class InsertAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple=false, Inherited=true)
public final class InsertAttribute extends Attribute
설명
메서드가 삽입 메서드임을 나타내려는 경우 InsertAttribute 특성을 해당 메서드에 적용합니다. 메서드가 삽입 메서드에 필요한 메서드 시그니처와 일치하면 InsertAttribute를 적용하지 않아도 됩니다. RIA Services 프레임워크는 필요한 삽입 시그니처가 있는 메서드를 삽입 작업으로 처리해야 한다는 사실을 유추합니다. RIA Services 프레임워크가 메서드에 대한 도메인 작업을 생성하지 못하게 하려는 경우 IgnoreAttribute를 해당 메서드에 적용합니다.
다음은 삽입 메서드에 필요한 시그니처입니다.
반환 값 |
없음 |
매개 변수 |
엔터티 |
이름 접두사 |
Insert, Add 또는 Create |
특성 |
-또는-
|
예제 |
-또는-
|
상속 계층
System.Object
System.Attribute
System.ServiceModel.DomainServices.Server.InsertAttribute
스레드 보안
이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 모든 인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.
플랫폼
개발 플랫폼
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 및 Windows 2000
대상 플랫폼
참고 항목
참조
InsertAttribute 멤버
System.ServiceModel.DomainServices.Server 네임스페이스