IInProcRepositoryFactory Interface |
Namespace: PDTec.IceNet.Sdk
public interface IInProcRepositoryFactory : IRepositoryFactory
The IInProcRepositoryFactory type exposes the following members.
Name | Description | |
---|---|---|
![]() | EnforceDependencies |
Gets or sets a value indicating whether package dependency
constraints will be enforced.
|
![]() | ImplAssemblies |
A collection of the Business Objects implementation assemblies
that should be used with the repository.
|
![]() | ImplFactories |
A collection of the Business Objects implementation factories
that should be used with the repository. This collection
overrides factory settings in ImplAssemblies.
|
![]() | LicenseFilePath |
Gets or sets the path to the license file or the builtinlicense://... URL.
|
Name | Description | |
---|---|---|
![]() | CreateRepository |
Creates a repository representation.
(Inherited from IRepositoryFactory.) |
![]() | FreezeModel |
Freezes the model of the repository.
|
The example shows how to create a in-memory repository with file management support.
IInProcFileImplFactory pFileFactory = IceNetSdk.GetInProcFileImplFactory(); pFileFactory.EnforceFileExistence = false; pFileFactory.ResolveVaultDirectory += delegate(object sender, ResolveVaultDirectoryEventArgs e) { e.Directory = @"D:\test\inprocvault"; }; IInProcRepositoryFactory pFactory = IceNetSdk.GetInProcRepositoryFactory(); pFactory.ImplFactories.Add(pFileFactory); IRepository pRepository = pFactory.CreateRepository();