Class ApiAdaptor
Handles request and response to and from Web API created for ApiController.
Inheritance
System.Object
ApiAdaptor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ApiAdaptor : UrlAdaptor, IAdaptor
Constructors
ApiAdaptor(DataManager)
Declaration
public ApiAdaptor(DataManager dataManager)
Parameters
Methods
AddParams(RequestOptions, DataManagerRequest)
Declaration
public override void AddParams(RequestOptions options, DataManagerRequest queries)
Parameters
Overrides
GetName()
Declaration
public override string GetName()
Returns
Type |
Description |
System.String |
|
Overrides
ProcessQuery(DataManagerRequest)
Declaration
public override object ProcessQuery(DataManagerRequest queries)
Parameters
Returns
Type |
Description |
System.Object |
|
Overrides
Remove(DataManager, String, Object, String, Query)
Declaration
public override object Remove(DataManager dataManager, string keyField, object value, string tableName = null, Query query = null)
Parameters
Type |
Name |
Description |
DataManager |
dataManager |
|
System.String |
keyField |
|
System.Object |
value |
|
System.String |
tableName |
|
Query |
query |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Update(DataManager, String, Object, String, Query, Object, IDictionary<String, Object>)
Declaration
public override object Update(DataManager dataManager, string keyField, object data, string tableName = null, Query query = null, object original = null, IDictionary<string, object> updateProperties = null)
Parameters
Type |
Name |
Description |
DataManager |
dataManager |
|
System.String |
keyField |
|
System.Object |
data |
|
System.String |
tableName |
|
Query |
query |
|
System.Object |
original |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
updateProperties |
|
Returns
Type |
Description |
System.Object |
|
Overrides