Add new properties in the class that you derived your entity from TableEntity class. Option1 and Option2 are new properties that you are trying to add:
public class CustomerEntity : TableEntity
{
public CustomerEntity() { }
public CustomerEntity(string lastName, string firstName)
{
this.PartitionKey = lastName;
this.RowKey = firstName;
}
public string Email { get; set; }
public string CellPhoneNumber { get; set; }
public string Option1 { get; set; }
public string Option2 { get; set; }
}
}
Make sure you set Option1 and Option2 values.
var customer = new CustomerEntity(LastName, FirstName)
{
Email = Email,
CellPhoneNumber = cellPhoneNumber,
Optional1 = option1,
Optional2 = option2,
}
TableOperation insertOperation = TableOperation.Insert(customer);
TableName.Execute(insertOperation);