ITable Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The ITable type exposes the following members.
| Name | Description | |
|---|---|---|
|
Attach(Object) | Attaches an entity to the DataContext in an unmodified state. |
|
Attach(Object, Boolean) | Attaches all entities of a collection to the DataContext in either a modified or unmodified state. |
|
Attach(Object, Object) | Attaches an entity to the DataContext in either a modified or unmodified state by specifying both the entity and its original state. |
|
AttachAll(IEnumerable) | Attaches all entities of a collection to the DataContext in either a modified or unmodified state. |
|
AttachAll(IEnumerable, Boolean) | Attaches all entities of a collection to the DataContext in either a modified or unmodified state. |
|
DeleteAllOnSubmit | Puts all entities from the collection into a pending delete state. |
|
DeleteOnSubmit | Puts an entity from this table into a pending delete state. |
|
GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) |
|
GetModifiedMembers | Returns an array of modified members that contain their current and original values. |
|
GetOriginalEntityState | Retrieves original values. |
|
InsertAllOnSubmit | Adds all entities of a collection to the DataContext in a pending insert state. |
|
InsertOnSubmit | Adds an entity in a pending insert state to this table. |
| Name | Description | |
|---|---|---|
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast(Of TResult) | Overloaded. Converts the elements of an IQueryable to the specified type. (Defined by Queryable.) |
|
Cast(Of TResult) | Overloaded. Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType(Of TResult) | Overloaded. Filters the elements of an IQueryable based on a specified type. (Defined by Queryable.) |
|
OfType(Of TResult) | Overloaded. Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
Show: