//called by the dataset
        public IEnumerable <IModuleDataModel> Read()
        {
            List <IModuleDataModel> dataModels = new List <IModuleDataModel>();

            XmlModuleDataModelSerializer dataModelSerializer = new XmlModuleDataModelSerializer();

            dataModels.AddRange(_containerElement.Elements().Select(dataModelSerializer.ReadObject).Where(x => x != null));

            return(dataModels);
        }
        //called by the dataset
        public void Write(IEnumerable <IModuleDataModel> dataModels)
        {
            XmlModuleDataModelSerializer dataModelSerializer = new XmlModuleDataModelSerializer();

            _containerElement.Add(dataModels.Select(dataModelSerializer.WriteObject).Where(x => x != null));
        }