Méthode | Description | |
---|---|---|
CreateNewInstance ( string myDir ) : JET_INSTANCE |
Create a new instance and set its log/system/temp directories to the given directory.
|
|
CreateRandomDirectory ( ) : string |
Creates a new random directory in the current working directory. This should be used to ensure that each test runs in its own directory.
|
|
CreateTempTableWithAllColumns ( JET_SESID sesid, TempTableGrbit grbit, JET_TABLEID &tableid ) : JET_COLUMNID>.Dictionary |
Creates a standard temp table with a column for each type.
|
|
SetLightweightConfiguration ( Microsoft.Isam.Esent.Interop.Instance instance ) : void |
Turns off logging, disables the temp DB and turns off events.
|
Méthode | Description | |
---|---|---|
InstanceName ( ) : string |
Creates a unique name for a new instance.
|
public static CreateNewInstance ( string myDir ) : JET_INSTANCE | ||
myDir | string | The directory to use. |
Résultat | JET_INSTANCE |
public static CreateRandomDirectory ( ) : string | ||
Résultat | string |
public static CreateTempTableWithAllColumns ( JET_SESID sesid, TempTableGrbit grbit, JET_TABLEID &tableid ) : JET_COLUMNID>.Dictionary |
||
sesid | JET_SESID | The session to use. |
grbit | TempTableGrbit | Temporary table options. |
tableid | JET_TABLEID | Returns the temporary table. |
Résultat | JET_COLUMNID>.Dictionary |
public static SetLightweightConfiguration ( Microsoft.Isam.Esent.Interop.Instance instance ) : void | ||
instance | Microsoft.Isam.Esent.Interop.Instance | The instance to configure. |
Résultat | void |