Exemplo n.º 1
0
        public PModel(IPDBLink db, string modelCode, bool deferredLoad, PPlatform platform)
        {
            this._db = db;
            this._modelCode = modelCode;
            this._listObjects = new Dictionary<int, PBaseObject>();
            this.Templates = new PTemplates(null); // старье
            this.DeferredLoad = deferredLoad;
            this.Platform = platform;

            this.LoadModel(); // хз?
        }
Exemplo n.º 2
0
 public RProfileCut()
 {
     _conf = new RConfig();
     _fbDb = new RFbLink(_conf.ConnectionString);
     _platform = new PPlatform(_fbDb, _conf.ModelCode, true)
 }