C# Класс Sage.Integration.Northwind.Adapter.Common.Handler.CRUD

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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