NDatabase Extended API


Some methods of NDatabase are grouped in a separate interface NDatabase.Odb.IOdbExt instead of NDatabase to keep the main interface NDatabase simple.

To get access to the extended API, just call IOdb.Ext(). Here is an example:

var odb = OdbFactory.Open("extb.ndb");
var f = new Function("Test Function");
var oid = odb.Store(f);
var extOid = odb.Ext().GetObjectExternalOID(f);
// code using extOid ...
odb.Close();

Last edited Dec 28, 2012 at 1:32 PM by jacek, version 4

Comments

No comments yet.