BasePersistedCollection<TItem>.LoadCollection

Loads the collection from the specified connection.

public virtual void LoadCollection(IDbConnection conn,
	bool checkForDuplicates);

Parameters

conn
A open connection for the database.
checkForDuplicates
True to check for duplicates. This is used when loading a second table which mighthave records superceding the first one.

Remarks

Pass false for checkForDuplicates when loading the first table, as it runs twice as fast when not checking for duplicates.

Overloads:


See also:

Class BasePersistedCollection