public DataManager() { // Create Databases Collect this.databases = new List <Database>(); // Create References Collection this.references = new ReferencesSet(); }
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; }
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; }
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); }
public void Add(ReferencesSet Set) { this.List.Add(Set); }