Class UrlAdaptor
Handles request and response to and from any remote service.
Inheritance
System.Object
UrlAdaptor
Assembly: Syncfusion.Blazor.dll
Syntax
public class UrlAdaptor : AdaptorBase, IAdaptor
Constructors
UrlAdaptor(DataManager)
Declaration
public UrlAdaptor(DataManager dataManager)
Parameters
Methods
BatchUpdate(DataManager, Object, Object, Object, Utils, String, Nullable<Int32>, Query, Object)
Declaration
public override object BatchUpdate(DataManager dataManager, object changed, object added, object deleted, Utils e, string keyField, Nullable<int> dropIndex, Query query = null, object original = null)
Parameters
Type |
Name |
Description |
DataManager |
dataManager |
|
System.Object |
changed |
|
System.Object |
added |
|
System.Object |
deleted |
|
Utils |
e |
|
System.String |
keyField |
|
System.Nullable<System.Int32> |
dropIndex |
|
Query |
query |
|
System.Object |
original |
|
Returns
Overrides
GetName()
Declaration
public override string GetName()
Returns
Overrides
Insert(DataManager, Object, String, Query, Int32)
Declaration
public override object Insert(DataManager dataManager, object data, string tableName = null, Query query = null, int position = 0)
Parameters
Type |
Name |
Description |
DataManager |
dataManager |
|
System.Object |
data |
|
System.String |
tableName |
|
Query |
query |
|
System.Int32 |
position |
|
Returns
Overrides
IsRemote()
Declaration
public override bool IsRemote()
Returns
Overrides
Declaration
public override Task<object> PerformDataOperation<T>(object queries)
Parameters
Type |
Name |
Description |
System.Object |
queries |
|
Returns
Type |
System.Threading.Tasks.Task<System.Object> |
Type Parameters
Overrides
ProcessCrudResponse<T>(Object, DataManagerRequest)
Declaration
public override Task<object> ProcessCrudResponse<T>(object data, DataManagerRequest queries)
Parameters
Returns
Type |
System.Threading.Tasks.Task<System.Object> |
Type Parameters
Overrides
ProcessQuery(DataManagerRequest)
Declaration
public override object ProcessQuery(DataManagerRequest queries)
Parameters
Returns
Overrides
ProcessResponse<T>(Object, DataManagerRequest)
Declaration
public override Task<object> ProcessResponse<T>(object data, DataManagerRequest queries)
Parameters
Returns
Type |
System.Threading.Tasks.Task<System.Object> |
Type Parameters
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
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
Overrides