Esempio n. 1
0
        private ArubaOwner[] InitializeOwners()
        {
            var owners = new ArubaOwner[EntitiesCount];

            for (var i = 0; i < EntitiesCount; i++)
            {
                var owner = new ArubaOwner
                {
                    Id        = i,
                    Alias     = "Owner Alias " + i,
                    FirstName = "First Name " + i % 3,
                    LastName  = "Last Name " + i,
                    Bugs      = new List <ArubaBug>(),
                };
                owners[i] = owner;
            }

            return(owners);
        }
Esempio n. 2
0
        private ArubaOwner[] InitializeOwners()
        {
            var owners = new ArubaOwner[EntitiesCount];
            for (var i = 0; i < EntitiesCount; i++)
            {
                var owner = new ArubaOwner
                {
                    Id = i,
                    Alias = "Owner Alias " + i,
                    FirstName = "First Name " + i % 3,
                    LastName = "Last Name " + i,
                    Bugs = new List<ArubaBug>(),
                };
                owners[i] = owner;
            }

            return owners;
        }