
390 ◾ Cloud Database Development and Management
TimeSpan.FromSeconds(1));
}
///Insert new entries in the StudentClubEntry table.
public void AddStudentClubEntry(StudentClubEntry1 newItem)
{
this.context.AddObject("StudentClubEntry1", newItem);
this.context.SaveChanges();
}
//Retrieve info about the students enrolled in the same club.
public IEnumerable < StudentClubEntry1>
GetStudentClubEntries(stringmemberClub)
{
var results = from s in this.context.StudentClubEntry1
where s.PartitionKey == memberClub
select s;
return results;
}
}
}
TASK 3: CONFIGURE STORAGE ACCOUNT
To use the Windows Azure storage services, you need to provide the authen ...