Store Constructor (IServiceProvider, array<Type )
Initializes a new instance of the Store class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
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.