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(); // хз? }
public PProfileCut(IPDBLink db, string modelCode, bool defferedLoad, Control navigatorControl) : base(db, modelCode, defferedLoad) { _conf = new RConfig(); _navigatorControl = navigatorControl; }
public AModel(IAHost host, string connectionString, string modelCode, bool defferedLoad) { _db = new AFbLink(connectionString); AHost ahost = new AHost(host); _model = new PPlatform(_db, modelCode, defferedLoad, ahost).Model; //_model.HostRequest += new EventHandler<HostQueryEventArgs>(ProcessHostRequest); }
public PPlatform(IPDBLink db, string modelCode, bool defferedLoad, IPHost host) { Host = host; Model = new PModel(db, modelCode, defferedLoad, this); }