The LibraryDbContainer type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| LibraryDbContainer |
Initialise un nouvel objet LibraryDbContainer à l'aide de la chaîne de connexion trouvée dans la section « LibraryDbContainer » du fichier de configuration d'application.
| |
| LibraryDbContainer(EntityConnection) |
Initialise un nouvel objet LibraryDbContainer.
| |
| LibraryDbContainer(String) |
Initialise un nouvel objet LibraryDbContainer.
|
Methods
| Name | Description | |
|---|---|---|
| AcceptAllChanges | Accepts all changes made to objects in the object context. (Inherited from ObjectContext.) | |
| AddObject | Adds an object to the object context. (Inherited from ObjectContext.) | |
| AddToBugReports |
Il n'existe aucun commentaire pour BugReports dans le schéma.
| |
| AddToDBVersions |
Il n'existe aucun commentaire pour DBVersions dans le schéma.
| |
| ApplyPropertyChanges | Applies property changes from a detached object to an object already attached to the object context. (Inherited from ObjectContext.) | |
| Attach | Attaches an object or object graph to the object context when the object has an entity key. (Inherited from ObjectContext.) | |
| AttachTo | Attaches an object or object graph to the object context in a specific entity set. (Inherited from ObjectContext.) | |
| CreateEntityKey | Creates the entity key for a specific object, or returns the entity key if it already exists. (Inherited from ObjectContext.) | |
| CreateQuery T | Creates an ObjectQuery T in the current object context by using the specified query string. (Inherited from ObjectContext.) | |
| DeleteObject | Marks an object for deletion. (Inherited from ObjectContext.) | |
| Detach | Removes the object from the object context. (Inherited from ObjectContext.) | |
| Dispose | Releases the resources used by the object context. (Inherited from ObjectContext.) | |
| Dispose(Boolean) | Releases the resources used by the object context. (Inherited from ObjectContext.) | |
| Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| ExecuteFunction TElement | Executes the given function on the default container. (Inherited from ObjectContext.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetObjectByKey | Returns an object that has the specified entity key. (Inherited from ObjectContext.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Refresh(RefreshMode, IEnumerable) | Updates a collection of objects in the object context with data from the persisted store. (Inherited from ObjectContext.) | |
| Refresh(RefreshMode, Object) | Updates an object in the object context with data from the persisted store. (Inherited from ObjectContext.) | |
| SaveChanges | Persists all updates to the store and resets change tracking in the object context. (Inherited from ObjectContext.) | |
| SaveChanges(Boolean) | Persists all updates to the store and optionally resets change tracking in the object context. (Inherited from ObjectContext.) | |
| ToString |
Returns a String that represents the current Object.
(Inherited from Object.) | |
| TryGetObjectByKey | Returns an object that has the specified entity key. (Inherited from ObjectContext.) |
Properties
| Name | Description | |
|---|---|---|
| BugReports |
Il n'existe aucun commentaire pour BugReports dans le schéma.
| |
| CommandTimeout | Gets or sets the timeout value, in seconds, for all object context operations. (Inherited from ObjectContext.) | |
| Connection | Gets the connection used by the object context. (Inherited from ObjectContext.) | |
| DBVersions |
Il n'existe aucun commentaire pour DBVersions dans le schéma.
| |
| DefaultContainerName | Gets or sets the default container name. (Inherited from ObjectContext.) | |
| MetadataWorkspace | Gets the metadata workspace used by the object context. (Inherited from ObjectContext.) | |
| ObjectStateManager | Gets the object state manager used by the object context to track object changes. (Inherited from ObjectContext.) |
Events
| Name | Description | |
|---|---|---|
| SavingChanges | Occurs when changes are saved to the persisted store. (Inherited from ObjectContext.) |
See Also