Example #1
0
        public DataManager()
        {
            // Create Databases Collect
            this.databases = new List <Database>();

            // Create References Collection
            this.references = new ReferencesSet();
        }
Example #2
0
        public DataManager()
        {
            // Create Databases Collect
            this.databases = new List <Database>();

            // Create References Collection
            this.references = new ReferencesSet();

            // Set FileOptions Default
            this.ClassFileOptions = DataManager.FileOptions.SingleFile;
        }
Example #3
0
        public DataManager(string projectFolder, string projectName, DataManager.ClassOutputLanguage OutputLanguage)
        {
            // Set ClassLanguage
            this.ClassLanguage = OutputLanguage;

            // Create Databases
            this.databases = new List <Database>();

            // Create References Collection
            this.references = new ReferencesSet();

            // Set ProjectFolder, ClassFileName & xmlFileName
            this.ProjectFolder = projectFolder;
            this.ProjectName   = projectName;
        }
Example #4
0
        public DataJuggler.Net.ReferencesSet ConvertReferences(List <ProjectReference> refCol, string referencesSetName)
        {
            // Create New ReferencesSet
            DataJuggler.Net.ReferencesSet refSet = new DataJuggler.Net.ReferencesSet(referencesSetName);

            // Add Each References
            foreach (ProjectReference refObject in refCol)
            {
                // Create New Reference
                Reference component = new Reference(refObject.ReferenceName, refObject.ReferencesId);

                // add this reference to the referencesSet
                refSet.Add(component);
            }

            // Return RefSet
            return(refSet);
        }
Example #5
0
 public void Add(ReferencesSet Set)
 {
     this.List.Add(Set);
 }