public override int Update(DataSet dataSet) { if (UpdateCommand != null) { InnerDataAdapter.UpdateCommand = ((GlimpseProfileDbCommand)UpdateCommand).Inner; } if (InsertCommand != null) { InnerDataAdapter.InsertCommand = ((GlimpseProfileDbCommand)InsertCommand).Inner; } if (DeleteCommand != null) { InnerDataAdapter.DeleteCommand = ((GlimpseProfileDbCommand)DeleteCommand).Inner; } return(InnerDataAdapter.Update(dataSet)); }
public override int Update(DataSet dataSet) { if (UpdateCommand != null) { InnerDataAdapter.UpdateCommand = RetrieveBaseType(UpdateCommand); } if (InsertCommand != null) { InnerDataAdapter.InsertCommand = RetrieveBaseType(InsertCommand); } if (DeleteCommand != null) { InnerDataAdapter.DeleteCommand = RetrieveBaseType(DeleteCommand); } return(InnerDataAdapter.Update(dataSet)); }