Exemple #1
0
 private ScanScrollTypeV2 ConvertScanScrollTypeV1(ScanScrollTypeV1 item)
 {
     return(new ScanScrollTypeV2
     {
         Created = item.Created,
         Updated = item.Updated,
         Description = item.Description,
         Id = item.Id,
         Name = item.Name,
         Vorname = "Yes we are reindexing"
     });
 }
Exemple #2
0
        public void SetUp()
        {
            _entitiesForTests = new List <ScanScrollTypeV1>();
            // Create a 100 entities
            for (int i = 0; i < 10000; i++)
            {
                var entity = new ScanScrollTypeV1
                {
                    Created     = DateTime.UtcNow,
                    Updated     = DateTime.UtcNow,
                    Description = "A test entity description",
                    Id          = i,
                    Name        = "cool"
                };

                _entitiesForTests.Add(entity);
            }
        }