SignalRCrudOperationsBuilder

Methods

Update(System.String)

The name of the method of the SignalR hub responsible for updating data items.

Parameters

method - System.String

Method name

Example

Razor
 
                @(Html.Kendo().DataSource<OrderViewModel>()
                                   .Name("ds")
                                   .SignalR(s=>s.Transport(t=> {
                                       t.Client(c => c.Update("methodName"));
                                   }))
                   )
             

Create(System.String)

The name of the method of the SignalR hub responsible for creating data items.

Parameters

method - System.String

Method name

Example

Razor
 
                @(Html.Kendo().DataSource<OrderViewModel>()
                                   .Name("ds")
                                   .SignalR(s=>s.Transport(t=> {
                                       t.Client(c => c.Create("methodName"));
                                   }))
                   )
             

Destroy(System.String)

The name of the method of the SignalR hub responsible for destroying data items.

Parameters

method - System.String

Method name

Example

Razor
 
                @(Html.Kendo().DataSource<OrderViewModel>()
                                   .Name("ds")
                                   .SignalR(s=>s.Transport(t=> {
                                       t.Client(c => c.Destroy("methodName"));
                                   }))
                   )
             

Read(System.String)

The name of the method of the SignalR hub responsible for reading data items.

Parameters

method - System.String

Method name

Example

Razor
 
                @(Html.Kendo().DataSource<OrderViewModel>()
                                   .Name("ds")
                                   .SignalR(s=>s.Transport(t=> {
                                       t.Client(c => c.Read("methodName"));
                                   }))
                   )