ITable Interface
Used for weakly typed query scenarios.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
| Name | Description | |
|---|---|---|
![]() | Context | Gets the DataContext that has been used to retrieve this ITable. |
![]() | ElementType | Gets the type of the element(s) that are returned when the expression tree associated with this instance of IQueryable is executed.(Inherited from IQueryable.) |
![]() | Expression | Gets the expression tree that is associated with the instance of IQueryable.(Inherited from IQueryable.) |
![]() | IsReadOnly | Indicates if the type of the entities contained in this ITable instance has a primary key. |
![]() | Provider | Gets the query provider that is associated with this data source.(Inherited from IQueryable.) |
| 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(IEnumerable) | Puts all entities from the collection into a pending delete state. |
![]() | DeleteOnSubmit(Object) | Puts an entity from this table into a pending delete state. |
![]() | GetEnumerator() | Returns an enumerator that iterates through a collection.(Inherited from IEnumerable.) |
![]() | GetModifiedMembers(Object) | Returns an array of modified members that contain their current and original values. |
![]() | GetOriginalEntityState(Object) | Retrieves original values. |
![]() | InsertAllOnSubmit(IEnumerable) | Adds all entities of a collection to the DataContext in a pending insert state. |
![]() | InsertOnSubmit(Object) | Adds an entity in a pending insert state to this table. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast(Of TResult)() | Converts the elements of an IQueryable to the specified type.(Defined by Queryable.) |
![]() | OfType(Of TResult)() | Filters the elements of an IQueryable based on a specified type.(Defined by Queryable.) |
For more information about methods, see Table(Of TEntity).
Available since 3.5
Windows Phone Silverlight
Available since 7.1
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)