Database Reference
In-Depth Information
Figure 11.11
Add class StudentClubEntry1.cs.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure.StorageClient;
namespace StudentClub_Info
{
public class StudentClubEntry1 : Microsoft.WindowsAzure.
StorageClient.TableServiceEntity
{
public StudentClubEntry1()
{
//The default constructor is needed for ObjectDataSource.
}
//Define the columns for the Table storage.
public StudentClubEntry1(string memberClub, string
memberEmail)
{
//Initialize Rowkey by email and PartitionKey by club name
RowKey = memberEmail;
PartitionKey = memberClub;
}
//Add more columns in the Table storage.
public string Name {get; set;}
public string Major {get; set;}
public string Photo {get; set;}
}
}
Search WWH ::




Custom Search