Export (0) Print
Expand All

ITable Methods

The ITable type exposes the following members.

  Name Description
Public method Attach(Object) Attaches an entity to the DataContext in an unmodified state.
Public method Attach(Object, Boolean) Attaches all entities of a collection to the DataContext in either a modified or unmodified state.
Public method 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.
Public method AttachAll(IEnumerable) Attaches all entities of a collection to the DataContext in either a modified or unmodified state.
Public method AttachAll(IEnumerable, Boolean) Attaches all entities of a collection to the DataContext in either a modified or unmodified state.
Public method DeleteAllOnSubmit Puts all entities from the collection into a pending delete state.
Public method DeleteOnSubmit Puts an entity from this table into a pending delete state.
Public method GetEnumerator Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method GetModifiedMembers Returns an array of modified members that contain their current and original values.
Public method GetOriginalEntityState Retrieves original values.
Public method InsertAllOnSubmit Adds all entities of a collection to the DataContext in a pending insert state.
Public method InsertOnSubmit Adds an entity in a pending insert state to this table.
Top

  Name Description
Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast<TResult>() Overloaded. Converts the elements of an IQueryable to the specified type. (Defined by Queryable.)
Public Extension Method Cast<TResult>() Overloaded. Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult>() Overloaded. Filters the elements of an IQueryable based on a specified type. (Defined by Queryable.)
Public Extension Method OfType<TResult>() Overloaded. Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top
Show:
© 2014 Microsoft