DeltaLister<TItem> constructor
namespace: Serenity.Data assembly: Serenity.Net.Data
Initializes a new instance of the DeltaLister
class.
public DeltaLister(IEnumerable<TItem> oldList, IEnumerable<TItem> newList,
Func<TItem, long?> getItemId, DeltaOptions options = DeltaOptions.IgnoreInvalidNewId)
parameter | description |
---|---|
oldList | The old list. |
newList | The new list. |
getItemId | The get item identifier. |
options | The options. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | oldList or newList or getItemId or oldItem or oldItemId or newItem is null. |
ArgumentOutOfRangeException | newItemId |
DuplicateNameException | newItemId |
See Also
- class TItem
- enum DeltaOptions
- class DeltaLister<TItem>