Share via


Store Members

Include Protected Members
Include Inherited Members

The store contains an in-memory representation of the elements and links in one or more models.

The Store type exposes the following members.

Constructors

 

Name

Description

Public method

Store

Overloaded. Initializes a new instance of the Store class.

Top

Methods

 

Name

Description

Public method

AddMonikerResolver

Register an IMonikerResolver for the specified domain model.

Public method

Dispose

Disposes the store.

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

FindDomainModel

Finds a domain model by its ID.

Public method

FindMonikerResolver

Finds the IMonikerResolver registered for the specified domain model.

Public method

GetClosurePrototypeGroup

Overloaded. Creates an ElementGroupPrototype in the default partition of a specified closure type.

Public method

GetDomainModel

Overloaded. Gets a domain model.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetService

Gets a service.

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

LoadDomainModels

Creates all the domain data for the specified list of domain models.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

PopContext

Removes the current context off the top of the stack.

Public method

PushContext

Pushes a new context to the top of the store context stack.

Public method

RegisterTransactionLog

Allows a client to register a transaction log that will be notified of events on this store.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Public method

UnregisterTransactionLog

Allows a client to unregister a transaction log from being notified of events on this store.

Top

Properties

 

Name

Description

Public property

ChangeSource

Gets the current change source for operations in the store.

Public property

CurrentContext

Gets the current context of the store.

Public property

DefaultPartition

Gets or sets the default partition for the store.

Public property

DemandLoading

Gets whether the store is currently demand loading a relationship.

Public property

Disposed

Gets whether the store has been disposed.

Public property

DomainDataDirectory

Gets domain information directory of the store.

Public property

DomainModels

Gets a collection of domain models in this store.

Public property

ElementDirectory

Gets the directory of elements contained within the store.

Public property

ElementFactory

Gets the element factory for the model.

Public property

EventManagerDirectory

Gets the event manager directory for the model.

Public property

Id

Gets the ID of the store.

Public property

InRedo

Gets the store and verifies whether the current context of the store is being redone.

Public property

InUndo

Gets the store and verifies whether the current context of the store is being undone.

Public property

InUndoRedoOrRollback

Gets the store and verifies whether the current context of the store is being redone, undone, or rolled back.

Public property

Partitions

Gets the Collection of Partition objects for the store.

Public property

PartitionsAlternate

Gets the partitions used in the store.

Public property

PropertyBag

Gets the property bag for the store.

Public property

RuleManager

Gets the rule manager for the store.

Public property

ShuttingDown

Gets the store and verifies whether the store is shutting down, or sets the state of the store as shutting down.

Public property

TransactionActive

Gets or sets whether the store has a currently active transaction.

Public property

TransactionLogs

Gets the current list of transaction logs for the store.

Public property

TransactionManager

Gets the transaction manager for the model.

Public property

UndoManager

Gets the UndoManager for the default context.

Public property

Version

Gets the version of the store.

Top

Events

 

Name

Description

Public event

StoreDisposing

Occurs when the store is disposing.

Top

See Also

Reference

Store Class

Microsoft.VisualStudio.Modeling Namespace