Exemple #1
0
        protected override void LoadServerState()
        {
            ServerCatalogDeviceSession catalogDeviceSession = (ServerCatalogDeviceSession)_systemProcess.CatalogDeviceSession;

            // Load server configuration settings
            catalogDeviceSession.LoadServerSettings(this);

            // Set the object ID generator
            Schema.Object.SetNextObjectID(catalogDeviceSession.GetMaxObjectID() + 1);

            // Insert a row into TableDee...
            RunScript(_systemProcess, "insert table { row { } } into TableDee;");

            // Ensure all loaded libraries are loaded
            _systemProcess.CatalogDeviceSession.ResolveLoadedLibraries();
        }
Exemple #2
0
 public CatalogDeviceTable(CatalogDevicePlanNode devicePlanNode, Program program, ServerCatalogDeviceSession session) : base(devicePlanNode.Node as TableNode, program)
 {
     _devicePlanNode = devicePlanNode;
     _session        = session;
 }