I also found that you'll want to set up a connection to the adapter as follows:
using System;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
DataServiceReference.AbstractsClient _abstractsClient = null;
protected void Page_Load(object sender, EventArgs e)
{
if (_abstractsClient == null)
{
_abstractsClient = new DataServiceReference.AbstractsClient();
_abstractsClient.Open();
}
}
protected void AbstractsDataSource_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
{
if (_abstractsClient.State == System.ServiceModel.CommunicationState.Opened)
e.ObjectInstance = _abstractsClient;
}
protected void AbstractsDataSource_ObjectDisposing(object sender, ObjectDataSourceDisposingEventArgs e)
{
e.Cancel = true;
}
protected void AbstractsDataSource_Updating(object sender, ObjectDataSourceMethodEventArgs e)
{
}
}