Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Table<TEntity> Members

.NET Framework 3.5

Represents a table for a particular type in the underlying database.

The Table<TEntity> type exposes the following members.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.