ObjectDbCreate Method (FileInfo) |
Constructs and opens an object database using a specified core database file. The file will be created if it doesn't exist. Other support database files (log, journal, etc) will be created as siblings of the core database file.
If for example the database file is specified as C:\temp\dbtesting\myproduct.edb then the folder C:\temp\dbtesting will contain the core database file myproduct.edb as well as other supporting files that comprise the full database.
Namespace: Orthogonal.ObjectDb.Esent
public static IObjectDbEsent Create( FileInfo file )
Exception | Condition |
---|---|
ArgumentException | Thrown if the file value does not have extension .edb. |