Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITable Interface

 

Used for weakly typed query scenarios.

Namespace:   System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

Public Interface ITable
	Inherits IQueryable, IEnumerable

NameDescription
System_CAPS_pubpropertyContext

Gets the DataContext that has been used to retrieve this ITable.

System_CAPS_pubpropertyElementType

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.)

System_CAPS_pubpropertyExpression

Gets the expression tree that is associated with the instance of IQueryable.(Inherited from IQueryable.)

System_CAPS_pubpropertyIsReadOnly

Indicates if the type of the entities contained in this ITable instance has a primary key.

System_CAPS_pubpropertyProvider

Gets the query provider that is associated with this data source.(Inherited from IQueryable.)

NameDescription
System_CAPS_pubmethodAttach(Object)

Attaches an entity to the DataContext in an unmodified state.

System_CAPS_pubmethodAttach(Object, Boolean)

Attaches all entities of a collection to the DataContext in either a modified or unmodified state.

System_CAPS_pubmethodAttach(Object, Object)

Attaches an entity to the DataContext in either a modified or unmodified state by specifying both the entity and its original state.

System_CAPS_pubmethodAttachAll(IEnumerable)

Attaches all entities of a collection to the DataContext in either a modified or unmodified state.

System_CAPS_pubmethodAttachAll(IEnumerable, Boolean)

Attaches all entities of a collection to the DataContext in either a modified or unmodified state.

System_CAPS_pubmethodDeleteAllOnSubmit(IEnumerable)

Puts all entities from the collection into a pending delete state.

System_CAPS_pubmethodDeleteOnSubmit(Object)

Puts an entity from this table into a pending delete state.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that iterates through a collection.(Inherited from IEnumerable.)

System_CAPS_pubmethodGetModifiedMembers(Object)

Returns an array of modified members that contain their current and original values.

System_CAPS_pubmethodGetOriginalEntityState(Object)

Retrieves original values.

System_CAPS_pubmethodInsertAllOnSubmit(IEnumerable)

Adds all entities of a collection to the DataContext in a pending insert state.

System_CAPS_pubmethodInsertOnSubmit(Object)

Adds an entity in a pending insert state to this table.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast(Of TResult)()

Converts the elements of an IQueryable to the specified type.(Defined by Queryable.)

System_CAPS_pubmethodOfType(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).

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2017 Microsoft