Exemple #1
0
        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);
 }