Share via


DataContext.RegisterList method

Enables continued reading and writing to an EntityList<TEntity> even after it has been renamed or moved to another Web site.

Overload list

  Name Description
Public method RegisterList<T>(String, String) Enables continued reading and writing to an EntityList<TEntity> even after it has been renamed.
Public method RegisterList<T>(String, String, String) Enables continued reading and writing to an EntityList<TEntity> even after it has been moved to another Web site.

Top

Remarks

If your code renames a list or moves it to another Web site, you can avoid having to dispose and recreate the EntityList<TEntity> by calling this method. Your code can then continue to access the cached list.

See also

Reference

DataContext class

DataContext members

Microsoft.SharePoint.Linq namespace