public BaseObject(int id, string updatedBy, DateTime?updatedDate) { _intID = id; _strUpdatedBy = updatedBy; _updatedDate = updatedDate; _stateObject = MyObjectState.Current; }
private void InitializeProperties(MyObjectState startState) { _intID = -1; _strUpdatedBy = ""; _updatedDate = null; // initialize the state of the object without firing any change events. _stateObject = startState; }