public static bool Remove(IInternalState state) { if (state == null) throw new ArgumentNullException("state"); return new AdfQuery() .From(SmartReferenceDescriber.Table) .Where(SmartReferenceDescriber.Id).IsEqual(state.ID) .Remove(DataSource) == 1; }