DataContext Methods
Include Protected Members
Include Inherited Members
The DataContext type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() |
Dispose() | Releases all managed and unmanaged resources used by the DataContext object. |
![]() |
Dispose(Boolean) | Releases all unmanaged resources used by the DataContext object and possibly also the managed resources as specified. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | Releases all unmanaged resources used by the DataContext object. (Overrides Object.Finalize().) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetList<T> | Returns an object that represents the specified list and is queryable by LINQ (Language Integrated Query). |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Refresh(RefreshMode, IEnumerable) | Refreshes a collection of entities with the latest data from the content database according to the specified mode. |
![]() |
Refresh(RefreshMode, Object) | Refreshes the specified entity with the latest data from the content database according to the specified mode. |
![]() |
Refresh(RefreshMode, []) | Refreshes an array of entities with the latest data from the content database according to the specified mode. |
![]() |
RegisterList<T>(String, String) | Enables continued reading and writing to an EntityList<TEntity> even after it has been renamed. |
![]() |
RegisterList<T>(String, String, String) | Enables continued reading and writing to an EntityList<TEntity> even after it has been moved to another Web site. |
![]() |
SubmitChanges() | Persists to the content database changes made by the current user to one or more lists; or, if a concurrency conflict is found, populates the ChangeConflicts property. |
![]() |
SubmitChanges(ConflictMode) | Persists to the content database changes made by the current user to one or more lists using the specified failure mode; or, if a concurrency conflict is found, populates the ChangeConflicts property. |
![]() |
SubmitChanges(ConflictMode, Boolean) | Persists, to the content database, changes made by the current user to one or more lists using the specified failure mode and the specified indication of whether the versions of changed list items should be incremented; or, if a concurrency conflict is found, populates the ChangeConflicts property. |
![]() |
ToString | (Inherited from Object.) |
Top
.gif)
.gif)