public IEnumerable <CodeTypeDeclaration> CreateCodeDOMs()
        {
            string dataProviderHelperClassName = NamesCreator.MakeDataProviderHelperClassName(_dataTypeDescriptor);
            string wrapperClassName            = NamesCreator.MakeWrapperClassName(_dataTypeDescriptor);
            string dataIdClassName             = NamesCreator.MakeDataIdClassName(_dataTypeDescriptor);


            DataProviderHelperClassGenerator classGenerator = new DataProviderHelperClassGenerator(
                dataProviderHelperClassName,
                wrapperClassName,
                dataIdClassName,
                _dataTypeDescriptor
                );
            CodeTypeDeclaration dataHelperClassCodeTypeDeclaration = classGenerator.CreateClass();

            yield return(dataHelperClassCodeTypeDeclaration);


            DataIdClassGenerator dataIdClassGenerator           = new DataIdClassGenerator(dataIdClassName, _dataTypeDescriptor);
            CodeTypeDeclaration  dataIdClassCodeTypeDeclaration = dataIdClassGenerator.CreateClass();

            yield return(dataIdClassCodeTypeDeclaration);


            DataWrapperClassGenerator dataWrapperClassGenerator           = new DataWrapperClassGenerator(wrapperClassName, _dataTypeDescriptor);
            CodeTypeDeclaration       dataWrapperClassCodeTypeDeclaration = dataWrapperClassGenerator.CreateClass();

            yield return(dataWrapperClassCodeTypeDeclaration);
        }
        public IEnumerable<CodeTypeDeclaration> CreateCodeDOMs()
        {
            string dataProviderHelperClassName = NamesCreator.MakeDataProviderHelperClassName(_dataTypeDescriptor);
            string wrapperClassName = NamesCreator.MakeWrapperClassName(_dataTypeDescriptor);
            string dataIdClassName = NamesCreator.MakeDataIdClassName(_dataTypeDescriptor);

            DataProviderHelperClassGenerator classGenerator = new DataProviderHelperClassGenerator(
                dataProviderHelperClassName,
                wrapperClassName,
                dataIdClassName,
                _dataTypeDescriptor
            );
            CodeTypeDeclaration dataHelperClassCodeTypeDeclaration = classGenerator.CreateClass();
            yield return dataHelperClassCodeTypeDeclaration;

            DataIdClassGenerator dataIdClassGenerator = new DataIdClassGenerator(dataIdClassName, _dataTypeDescriptor);
            CodeTypeDeclaration dataIdClassCodeTypeDeclaration = dataIdClassGenerator.CreateClass();
            yield return dataIdClassCodeTypeDeclaration;

            DataWrapperClassGenerator dataWrapperClassGenerator = new DataWrapperClassGenerator(wrapperClassName, _dataTypeDescriptor);
            CodeTypeDeclaration dataWrapperClassCodeTypeDeclaration = dataWrapperClassGenerator.CreateClass();
            yield return dataWrapperClassCodeTypeDeclaration;
        }