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

            // Create References Collection
            this.references = new ReferencesSet();
        }
コード例 #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;
        }
コード例 #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;
        }
コード例 #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);
        }
コード例 #5
0
ファイル: Reference.cs プロジェクト: jeanbeaudet/dbcompare
 public void Add(ReferencesSet Set)
 {
     this.List.Add(Set);
 }