Partager via


DataContext.GetTable Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Returns a collection of table objects.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows Phone GetTable<TEntity>() Returns a collection of objects of a particular type, where the type is defined by the TEntity parameter.
Public methodSupported by Silverlight for Windows Phone GetTable(Type) Returns a collection of objects of a particular type, where the type is defined by the type parameter.

Top

Remarks

For information about using a local database in your Windows Phone application, see Local Database Overview for Windows Phone.