This documentation is archived and is not being maintained.
Table<TEntity> Methods
Visual Studio 2008
The Table<TEntity> type exposes the following members.
| Name | Description | |
|---|---|---|
|
Attach | Overloaded. Attaches an entity to the DataContext. |
|
AttachAll | Overloaded. Attaches all entities of a collection to the DataContext in either a modified or unmodified state. |
|
DeleteAllOnSubmit<TSubEntity> | |
|
DeleteOnSubmit | Puts an entity from this table into a pending delete state. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator | Gets an enumerator for the collection. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetModifiedMembers | Returns an array of modified members that contain their current and original values. |
|
GetNewBindingList | Creates a new list for binding to a data source. |
|
GetOriginalEntityState | Returns an instance that contains the original state of the entity. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
InsertAllOnSubmit<TSubEntity> | 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<TEntity>. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the table. (Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
|
Aggregate | Overloaded. Applies an accumulator function over a sequence. |
|
All | Overloaded. |
|
Any | Overloaded. Determines whether any element of an IQueryable<T> sequence exists or satisfies a condition. |
|
AsEnumerable | Returns the input typed as IEnumerable<T>. (Defined by Enumerable.) |
|
AsQueryable | Overloaded. Converts an IEnumerable or generic IEnumerable<T> to an IQueryable or generic IQueryable<T>. |
|
Average | Overloaded. Computes the average of a sequence of numeric values. |
|
Cast | Overloaded. |
|
Concat | Overloaded. |
|
Contains | Overloaded. Determines whether an IQueryable<T> contains a specified element. |
|
Count | Overloaded. Returns the number of elements in a sequence. |
|
DefaultIfEmpty | Overloaded. Returns the elements in a sequence or a default valued singleton collection if the sequence is empty. |
|
Distinct | Overloaded. Returns distinct elements from a sequence. |
|
ElementAt | Overloaded. |
|
ElementAtOrDefault | Overloaded. |
|
Except | Overloaded. Produces the set difference of two sequences. |
|
First | Overloaded. Returns the first element of a sequence. |
|
FirstOrDefault | Overloaded. Returns the first element of a sequence, or a default value if no element is found. |
|
Intersect | Overloaded. Produces the set intersection of two sequences. |
|
Last | Overloaded. Returns the last element in a sequence. |
|
LastOrDefault | Overloaded. Returns the last element of a sequence, or a default value if no element is found. |
|
LongCount | Overloaded. Returns an Int64 that represents the number of elements in sequence. |
|
Max | Overloaded. Returns the maximum value in a sequence. |
|
Min | Overloaded. Returns the minimum value in a sequence. |
|
OfType | Overloaded. |
|
Reverse | Overloaded. |
|
SequenceEqual | Overloaded. Determines whether two sequences are equal. |
|
Single | Overloaded. Returns a single, specific element of a sequence. |
|
SingleOrDefault | Overloaded. Returns a single, specific element of a sequence, or a default value if no such element is found. |
|
Skip | Overloaded. |
|
SkipWhile | Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. |
|
Sum | Overloaded. Computes the sum of a sequence of numeric values. |
|
Take | Overloaded. |
|
TakeWhile | Overloaded. Returns elements from a sequence as long as a specified condition is true, and then skips the remaining elements. |
|
ToArray | Creates an array from a IEnumerable<T>. (Defined by Enumerable.) |
|
ToList | Creates a List<T> from an IEnumerable<T>. (Defined by Enumerable.) |
|
Union | Overloaded. Produces the set union of two sequences. |
|
Where | Overloaded. Filters a sequence of values based on a predicate. |
| Name | Description | |
|---|---|---|
|
Attach | Overloaded. |
|
AttachAll | Overloaded. |
|
CreateQuery | Overloaded. |
|
ITable::DeleteAllOnSubmit | For a description of this member, see DeleteAllOnSubmit. |
|
ITable::DeleteOnSubmit | For a description of this member, see DeleteOnSubmit. |
|
Execute | Overloaded. |
|
IEnumerable<TEntity>::GetEnumerator | For a description of this member, see GetEnumerator. |
|
IEnumerable::GetEnumerator | For a description of this member, see GetEnumerator. |
|
IListSource::GetList | For a description of this member, see GetList. |
|
ITable::GetModifiedMembers | For a description of this member, see GetModifiedMembers. |
|
ITable::GetOriginalEntityState | For a description of this member, see GetOriginalEntityState. |
|
ITable::InsertAllOnSubmit | For a description of this member, see InsertAllOnSubmit. |
|
ITable::InsertOnSubmit | For a description of this member, see InsertOnSubmit. |
Show: