Class DatasetProcessor
Inheritance
System.Object
DatasetProcessor
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
public class DatasetProcessor : IDatasetProcessor, IBaseDataSetProcessorWithDBSave, IBaseDataSetProcessor, IProcessor, IDisposable
Constructors
DatasetProcessor(IEntityUpdater, IReadOnlyCache, UserInfo)
Declaration
public DatasetProcessor(IEntityUpdater updater, IReadOnlyCache cache, UserInfo user)
Parameters
Properties
Cache
Declaration
public IReadOnlyCache Cache { get; }
Property Value
Dataset
Declaration
public IDataset Dataset { get; }
Property Value
DatasetQueryableItems
Declaration
public IEnumerable<IDatasetQueryableItem> DatasetQueryableItems { get; }
Property Value
FieldInfos
Declaration
public IEnumerable<IDatasetQueryableItemFieldInfo> FieldInfos { get; }
Property Value
Filters
Declaration
public IEnumerable<IFilterDescriptor> Filters { get; }
Property Value
IgnoreEvents
Declaration
public bool IgnoreEvents { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Loaded
Declaration
public bool Loaded { get; }
Property Value
Type |
Description |
System.Boolean |
|
Order
Declaration
public short Order { get; }
Property Value
Type |
Description |
System.Int16 |
|
Reporter
Declaration
public BusyProgressReporter Reporter { get; set; }
Property Value
SaveProcessed
Declaration
public bool SaveProcessed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Updater
Declaration
public IEntityUpdater Updater { get; }
Property Value
User
Declaration
public UserInfo User { get; }
Property Value
Wrapper
Declaration
public ISQLWrapper Wrapper { get; }
Property Value
Methods
AddToDataSetToProcess(IBaseEntity, EntityOperation)
Declaration
public void AddToDataSetToProcess(IBaseEntity item, EntityOperation operationType)
Parameters
Dispose()
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
GetQueryableItem(Guid)
Declaration
public IQueryableItem GetQueryableItem(Guid forDataSourceQueryableItemID)
Parameters
Type |
Name |
Description |
System.Guid |
forDataSourceQueryableItemID |
|
Returns
GetQueryableItemFields(Guid)
Declaration
public IEnumerable<IQueryableFieldInfo> GetQueryableItemFields(Guid forDataSourceQueryableItemID)
Parameters
Type |
Name |
Description |
System.Guid |
forDataSourceQueryableItemID |
|
Returns
GetQueryableItemParams(Guid)
Declaration
public IEnumerable<IQueryableParamInfo> GetQueryableItemParams(Guid forDataSourceQueryableItemID)
Parameters
Type |
Name |
Description |
System.Guid |
forDataSourceQueryableItemID |
|
Returns
GetTotalQueriedEntities()
Declaration
public IEnumerable<EntityDescriptor> GetTotalQueriedEntities()
Returns
GetWrapperTypes(SQLTypeWrapperType)
Declaration
public IEnumerable<ISQLTypeWrapper> GetWrapperTypes(SQLTypeWrapperType type)
Parameters
Returns
IsChangedItemPartOfDataSet(IBaseEntity)
Declaration
public bool IsChangedItemPartOfDataSet(IBaseEntity item)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Joins(Guid)
Declaration
public IEnumerable<IDatasetQueryableItemJoin> Joins(Guid forDataSetQueryableItemID)
Parameters
Type |
Name |
Description |
System.Guid |
forDataSetQueryableItemID |
|
Returns
Load()
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
OnAddFieldInfo(IDatasetQueryableItemFieldInfo)
Declaration
public void OnAddFieldInfo(IDatasetQueryableItemFieldInfo item)
Parameters
OnAddFilter(IFilterDescriptor)
Declaration
public void OnAddFilter(IFilterDescriptor filter)
Parameters
OnAddJoin(IDatasetQueryableItemJoin)
Declaration
public void OnAddJoin(IDatasetQueryableItemJoin item)
Parameters
OnAddQueryableItem(IDatasetQueryableItem)
Declaration
public async Task OnAddQueryableItem(IDatasetQueryableItem item)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
OnAddWrapperType(ISQLTypeWrapper)
Declaration
public void OnAddWrapperType(ISQLTypeWrapper item)
Parameters
OnDeleteFieldInfo(IDatasetQueryableItemFieldInfo)
Declaration
public void OnDeleteFieldInfo(IDatasetQueryableItemFieldInfo item)
Parameters
OnDeleteFilter(IFilterDescriptor)
Declaration
public void OnDeleteFilter(IFilterDescriptor filter)
Parameters
OnDeleteJoin(IDatasetQueryableItemJoin)
Declaration
public void OnDeleteJoin(IDatasetQueryableItemJoin item)
Parameters
OnDeleteQueryableItem(IDatasetQueryableItem)
Declaration
public void OnDeleteQueryableItem(IDatasetQueryableItem item)
Parameters
OnDeleteWrapperType(ISQLTypeWrapper)
Declaration
public void OnDeleteWrapperType(ISQLTypeWrapper item)
Parameters
OverrideWithLocalCache(IReadOnlyCache)
Declaration
public void OverrideWithLocalCache(IReadOnlyCache cache)
Parameters
ProcessOnDBSave()
Declaration
public Task ProcessOnDBSave()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
RollbackChanges()
Declaration
public Task RollbackChanges()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Validate()
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Events
OnEventOccured
Declaration
public event DatasetProcessorEventHandler OnEventOccured
Event Type
Implements
System.IDisposable
Extension Methods