/// <summary>
        /// This method fetches all 'ReferencesSet' objects.
        /// </summary>
        /// <param name='List<PolymorphicObject>'>The 'ReferencesSet' to delete.
        /// <returns>A PolymorphicObject object with all  'ReferencesSets' objects.
        internal PolymorphicObject FetchAll(List <PolymorphicObject> parameters, DataConnector dataConnector)
        {
            // Initial Value
            PolymorphicObject returnObject = new PolymorphicObject();

            // locals
            List <ReferencesSet> referencesSetListCollection = null;

            // Create FetchAll StoredProcedure
            FetchAllReferencesSetsStoredProcedure fetchAllProc = null;

            // If the data connection is connected
            if ((dataConnector != null) && (dataConnector.Connected == true))
            {
                // Get ReferencesSetParameter
                // Declare Parameter
                ReferencesSet paramReferencesSet = null;

                // verify the first parameters is a(n) 'ReferencesSet'.
                if (parameters[0].ObjectValue as ReferencesSet != null)
                {
                    // Get ReferencesSetParameter
                    paramReferencesSet = (ReferencesSet)parameters[0].ObjectValue;
                }

                // Now create FetchAllReferencesSetsProc from ReferencesSetWriter
                fetchAllProc = ReferencesSetWriter.CreateFetchAllReferencesSetsStoredProcedure(paramReferencesSet);
            }

            // Verify fetchAllProc exists
            if (fetchAllProc != null)
            {
                // Execute FetchAll Stored Procedure
                referencesSetListCollection = this.DataManager.ReferencesSetManager.FetchAllReferencesSets(fetchAllProc, dataConnector);

                // if dataObjectCollection exists
                if (referencesSetListCollection != null)
                {
                    // set returnObject.ObjectValue
                    returnObject.ObjectValue = referencesSetListCollection;
                }
            }
            else
            {
                // Raise Error Data Connection Not Available
                throw new Exception("The database connection is not available.");
            }

            // return value
            return(returnObject);
        }