C# 클래스 Sage.Integration.Northwind.Adapter.Common.Handler.CRUD

파일 보기 프로젝트 열기: Sage/SData-Contracts 1 사용 예제들

공개 메소드들

메소드 설명
CRUD ( IRequest request ) : System
Create ( FeedEntry entry ) : void
Delete ( string id ) : void
Read ( string id ) : void
Update ( FeedEntry entry, string id ) : void

보호된 메소드들

메소드 설명
TrimApostophes ( string resource ) : string

Helper Method, because the Framework can't handle an ID-Template with apostophes

비공개 메소드들

메소드 설명
GetDiagnosis ( SdataTransactionResult result ) : Diagnosis
HandlePaging ( IRequest request, Feed result, string ids ) : void
IsValid ( FeedEntry newEntry ) : bool

Helper Method, because the Framework handles emtpy entry elements () as...well...empty entries (and not null)

isActive ( FeedEntry feedEntry ) : bool

메소드 상세

CRUD() 공개 메소드

public CRUD ( IRequest request ) : System
request IRequest
리턴 System

Create() 공개 메소드

public Create ( FeedEntry entry ) : void
entry FeedEntry
리턴 void

Delete() 공개 메소드

public Delete ( string id ) : void
id string
리턴 void

Read() 공개 메소드

public Read ( string id ) : void
id string
리턴 void

TrimApostophes() 보호된 메소드

Helper Method, because the Framework can't handle an ID-Template with apostophes
protected TrimApostophes ( string resource ) : string
resource string
리턴 string

Update() 공개 메소드

public Update ( FeedEntry entry, string id ) : void
entry FeedEntry
id string
리턴 void