internal InstanceDescription(object instance) { _describedInstance = instance; _objectDescription = ClassFactory.GetObjectDescription(_describedInstance.GetType(), ClassFactory.CreatePersistentStorage("Default")); _isEntity = _objectDescription.IsEntity; _isEntityBase = _objectDescription.IsDescendentFrom(typeof(EntityBase)); }