Esempio n. 1
0
 public CompanySerializer(CompanyCollection companies)
 {
     this.Companies = companies;
     if (!this.Companies.IsLoaded)
     {
         this.Companies.Load();
     }
     this.Total = this.Companies.Count;
 }
Esempio n. 2
0
 public CompanySerializer(CompanyCollection companies, int start, int limit) : this(companies)
 {
     this.Companies.Page(start, limit);
 }