Habanero.BO.DataStoreInMemoryXmlReader.ConfigureObjectAfterLoad C# (CSharp) Method

ConfigureObjectAfterLoad() protected method

Sets up the object after loading. In this case: 1. Sets the status of the object to not new, not dirty, not editing and not deleted. 2. Calls the BusinessObject.AfterLoad() method on the object 3. Backs up the property values, setting the persisted values of the properties
protected ConfigureObjectAfterLoad ( IBusinessObject bo ) : IBusinessObject
bo IBusinessObject The object to configure
return IBusinessObject
        protected virtual IBusinessObject ConfigureObjectAfterLoad(IBusinessObject bo)
        {
            BusinessObjectLoaderBase.SetStatusAfterLoad(bo);
            BusinessObjectLoaderBase.CallAfterLoad(bo);
            bo.Props.BackupPropertyValues();
            return bo;
        }