Summary
    opens an
    
    
A database file can only be opened once, subsequent attempts to open another
    
    
		Db4objects.Db4o.IObjectContainer
    on the specified database file for local use.
    A database file can only be opened once, subsequent attempts to open another
Db4objects.Db4o.IObjectContainer
    against the same file will result in a
    Db4objects.Db4o.Ext.DatabaseFileLockedException
    .
    - Assembly
- Db4objects.Db4o-2010 .dll 
- Namespace
- Db4objects.Db4o 
- Containing Type
- Db4oEmbedded
Syntax
public static IEmbeddedObjectContainer OpenFile(IEmbeddedConfiguration config, string databaseFileName)Parameters
| Name | Type | Description | 
|---|---|---|
| config | I | a custom Db4objects.Db4o.Config.IConfigurationinstance to be obtained vianewConfiguration | 
| databaseFileName | string | an absolute or relative path to the database file | 
Return Value
| Type | Description | 
|---|---|
| I | an open Db4objects.Db4o.IObjectContainer | 
See Also
- Db4objects.Db4o.Config.IConfiguration.ReadOnly(System.Boolean)
- Db4objects.Db4o.Config.IConfiguration.Encrypt(System.Boolean)
- Db4objects.Db4o.Config.IConfiguration.Password(System.String)