BusinessObjectBaseUpdateDataObjectCollectionTData, TBusiness Method |
Updates the data object collection with logic to avoid deleting and re-inserting all items.
Namespace:
Atomia.Billing.Core.Sdk.BusinessObjects
Assembly:
Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax public void UpdateDataObjectCollection<TData, TBusiness>(
IList<TData> dataList,
IList<TBusiness> businessList
)
where TData : IDataObjectWithId
where TBusiness : Object, IBusinessObjectWithId<TData>
Public Sub UpdateDataObjectCollection(Of TData As IDataObjectWithId, TBusiness As {Object, IBusinessObjectWithId(Of TData)}) (
dataList As IList(Of TData),
businessList As IList(Of TBusiness)
)
public:
generic<typename TData, typename TBusiness>
where TData : IDataObjectWithId
where TBusiness : Object, IBusinessObjectWithId<TData>
void UpdateDataObjectCollection(
IList<TData>^ dataList,
IList<TBusiness>^ businessList
)
member UpdateDataObjectCollection :
dataList : IList<'TData> *
businessList : IList<'TBusiness> -> unit when 'TData : IDataObjectWithId when 'TBusiness : Object and IBusinessObjectWithId<'TData>
Parameters
- dataList
- Type: System.Collections.GenericIListTData
The list of data objects. - businessList
- Type: System.Collections.GenericIListTBusiness
The list of business objects.
Type Parameters
- TData
- The type of the data object.
- TBusiness
- The type of the business object.
See Also