Class BlazorAdaptor
Handles data operation in IEnumerable data source.
Inheritance
System.Object
BlazorAdaptor
Assembly: Syncfusion.Blazor.dll
Syntax
public class BlazorAdaptor : AdaptorBase, IAdaptor
Constructors
BlazorAdaptor(DataManager)
Declaration
public BlazorAdaptor(DataManager dataManager)
Parameters
Methods
Declaration
public override object BatchUpdate(DataManager dataManager, List<IDynamicMetaObjectProvider> changed, List<IDynamicMetaObjectProvider> added, List<IDynamicMetaObjectProvider> deleted, Utils e, string keyField, Nullable<int> dropIndex, Query query = null, object original = null)
Parameters
Type |
Name |
Description |
DataManager |
dataManager |
|
System.Collections.Generic.List<System.Dynamic.IDynamicMetaObjectProvider> |
changed |
|
System.Collections.Generic.List<System.Dynamic.IDynamicMetaObjectProvider> |
added |
|
System.Collections.Generic.List<System.Dynamic.IDynamicMetaObjectProvider> |
deleted |
|
Utils |
e |
|
System.String |
keyField |
|
System.Nullable<System.Int32> |
dropIndex |
|
Query |
query |
|
System.Object |
original |
|
Returns
Overrides
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
BatchUpdateArray<T>(DataManager, Object, Object, Object, String, Nullable<Int32>)
Declaration
public static object BatchUpdateArray<T>(DataManager dataManager, object changed, object added, object deleted, string keyField, Nullable<int> dropIndex)
Parameters
Type |
Name |
Description |
DataManager |
dataManager |
|
System.Object |
changed |
|
System.Object |
added |
|
System.Object |
deleted |
|
System.String |
keyField |
|
System.Nullable<System.Int32> |
dropIndex |
|
Returns
Type Parameters
CollectChildRecords(IEnumerable, DataManagerRequest)
Performs data operation on child records.
Declaration
public static IEnumerable CollectChildRecords(IEnumerable datasource, DataManagerRequest dm)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
datasource |
Data source value.
|
DataManagerRequest |
dm |
Query to be processed.
|
Returns
Type |
Description |
System.Collections.IEnumerable |
IEnumerable.
|
DataOperationInvoke<T>(IEnumerable, DataManagerRequest)
Declaration
public static DataResult DataOperationInvoke<T>(IEnumerable DataSource, DataManagerRequest queries)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
DataSource |
Data source value.
|
DataManagerRequest |
queries |
Query to be processed.
|
Returns
Type Parameters
Name |
Description |
T |
Type of the data source item.
|
GetName()
Declaration
public override string GetName()
Returns
Overrides
GroupResult<T>(DataManagerRequest, IEnumerable, DataResult)
Declaration
public static DataResult GroupResult<T>(DataManagerRequest queries, IEnumerable DataSource, DataResult DataObject)
Parameters
Returns
Type Parameters
Declaration
public override object Insert(DataManager dataManager, IDynamicMetaObjectProvider data, string tableName = null, Query query = null, int position = 0)
Parameters
Type |
Name |
Description |
DataManager |
dataManager |
|
System.Dynamic.IDynamicMetaObjectProvider |
data |
|
System.String |
tableName |
|
Query |
query |
|
System.Int32 |
position |
|
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
InsertArray<T>(DataManager, Object, Int32)
Declaration
public static object InsertArray<T>(DataManager dataManager, object data, int position)
Parameters
Type |
Name |
Description |
DataManager |
dataManager |
|
System.Object |
data |
|
System.Int32 |
position |
|
Returns
Type Parameters
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
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
RemoveArray<T>(DataManager, String, Object)
Declaration
public static object RemoveArray<T>(DataManager dataManager, string keyField, object value)
Parameters
Type |
Name |
Description |
DataManager |
dataManager |
|
System.String |
keyField |
|
System.Object |
value |
|
Returns
Type Parameters
SetRunSyncOnce(Boolean)
Declaration
public override void SetRunSyncOnce(bool runSync)
Parameters
Type |
Name |
Description |
System.Boolean |
runSync |
|
Overrides
Declaration
public override object Update(DataManager dataManager, string keyField, IDynamicMetaObjectProvider data, string tableName = null, Query query = null, object original = null)
Parameters
Type |
Name |
Description |
DataManager |
dataManager |
|
System.String |
keyField |
|
System.Dynamic.IDynamicMetaObjectProvider |
data |
|
System.String |
tableName |
|
Query |
query |
|
System.Object |
original |
|
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