Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the Store class.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
    serviceProvider As IServiceProvider, _
    ParamArray domainModelTypes As Type() _
)
public Store(
    IServiceProvider serviceProvider,
    params Type[] domainModelTypes
)
public:
Store(
    IServiceProvider^ serviceProvider, 
    ... array<Type^>^ domainModelTypes
)
new : 
        serviceProvider:IServiceProvider * 
        domainModelTypes:Type[] -> Store
public function Store(
    serviceProvider : IServiceProvider, 
    ... domainModelTypes : Type[]
)
Parameters
- serviceProvider 
 Type: System.IServiceProvider- The service provider for this store. 
- domainModelTypes 
 Type: array<System.Type[]- The list of domain models to be loaded. 
Remarks
The domainModelTypes parameter is optional. Therefore zero or more domain models can be specified.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.