internal bool UpdateField(string FieldName, object FieldValue) { if (_originalvalues[FieldName] != FieldValue) { _currentvalues[FieldName] = FieldValue; State = EntityState.Modified; return(true); } return(false); }
internal void UpdateState(EntityState newState) { State = newState; }