BasePersistedCollection<TItem>.CanSaveItem

Determines if the specified item can be saved.

public virtual bool CanSaveItem(TItem item);

Return Value

True if the item can be saved.

Parameters

item
A reference to the item to save.

Remarks

A subclass can do any checking it wants (such as the item's properties aren't set) and return false to prevent the item from being saved to the table.

See also:

Class BasePersistedCollection