public void GetCustomSubEntitiesTest()
        {
            using (ActFramework framework = new ActFramework())
            {
                Trace.WriteLine("GetCustomSubEntitiesTest - start");
                framework.LogOn(Settings.Default.userName, Settings.Default.password, Settings.Default.databaseHost, Settings.Default.databaseName);
                Trace.WriteLine("GetCustomSubEntitiesTest - LogOn");

                IbolTestsManager  manager        = new IbolTestsManager(framework);
                Contact           contact        = framework.CurrentUser.Contact;
                IFilterCriteria[] filterCriteria = null;

                CustomEntityList <IbolTests> list = manager.GetCustomSubEntities(contact, filterCriteria);
                Assert.IsNotNull(list, "CustomEntityList<IbolTests> is null");
                Trace.WriteLine("GetCustomSubEntitiesTest - GetCustomSubEntities: " + list.Count + " and stop");

                CustomEntitiesSamplesTests.SearchTypesFor(typeof(IFilterCriteria));
            }
        }
Exemple #2
0
        public CustomEntityList <IbolTests> GetCustomSubEntities(Contact contact, IFilterCriteria[] filterCriteria)
        {
            CustomEntityList <IbolTests> list = this.manager.GetCustomSubEntities(contact, null, filterCriteria);

            return(list);
        }