Interface IHasAutoDataSet
- Namespace
- BpNexT.NET.Models.Interfaces
- Assembly
- BpNexT.NET.Contracts.Com.dll
Interface for all microtech ERP COM entities. Extends IDataSetEntity with COM-specific members.
public interface IHasAutoDataSet : IDataSetEntity
- Inherited Members
Methods
As<T>(string[]?)
Converts the current generic instance to it's typed instance.
T As<T>(string[]? includes = null) where T : IHasAutoDataSet, new()
Parameters
includesstring[]Optional: The names of the properties to include.
Returns
- T
A new instance of the target type.
Type Parameters
TThe target type.
Exceptions
- InvalidOperationException
Thrown when DataSet is null or the DataSet type does not match the target type name.
Remove()
Removes the current instance from the DataSet.
void Remove()
Exceptions
- InvalidOperationException
Thrown when DataSet is null.
Save()
Saves the current state of the object to the DataSet.
void Save()
Exceptions
- InvalidOperationException
Thrown when DataSet is null.