Exemplo n.º 1
0
 public void CreateCompaniesList()
 {
     using (CompaniesList list = (CompaniesList)ModulesManager.Current.OpenModuleObjectDetail(new CompaniesListObject(Session), false)) {
         CompaniesListView companiesListView = CompaniesListView.LastCreatedView;
         Assert.IsNotNull(companiesListView);
         Assert.IsNotNull(companiesListView.Module);
         Assert.AreEqual(list, companiesListView.Module);
     }
 }
Exemplo n.º 2
0
 public CompaniesListView(CompaniesList moviesList)
     : base(moviesList)
 {
     LastCreatedView = this;
 }