Exemplo n.º 1
0
 /// <summary>
 /// Class Constructor
 /// </summary>
 public MasterDAO()
 {
     _masterDataSet           = new MasterDS();
     _tabAuthorTableAdapter   = new TabAuthorTableAdapter();
     _tabCategoryTableAdapter = new TabCategoryTableAdapter();
     _tabLanguageTableAdapter = new TabLanguageTableAdapter();
 }
Exemplo n.º 2
0
 public TemplateStruct(TemplateStruct linkedTemplateStruct, string name, MasterDS ds)
 {
     linkedTS            = linkedTemplateStruct;
     this.Name           = name;
     this.FilePath       = linkedTemplateStruct.FilePath;
     this.SavedPath      = "";
     this._SourceDataSet = ds;
     this.InitDataTable();
     this.TreeNode = null;
 }
Exemplo n.º 3
0
 public TemplateStruct(Guid id, string name, string location, string description)
 {
     this._ID            = id;
     this._Name          = name;
     this._Location      = location;
     this._Description   = description;
     this._FilePath      = "";
     this._DocumentNames = new ArrayList();
     this._TemplateValid = true;
     this._TreeNode      = null;
     this._DataTable     = null;
     this._SourceDataSet = null;
     this._NodeChecked   = true;
     this._SavedPath     = "";
     this._Fields        = new System.Collections.Hashtable();
     this.linkedTS       = null;
 }
Exemplo n.º 4
0
 public TemplateStruct CreateLinked(string name, MasterDS ds)
 {
     return(new TemplateStruct(this, name, ds));
 }