/// <summary> /// Constructor. Set Database and TableName properties. /// </summary> /// <param name="database_">Database object</param> /// <param name="tablename">Table name</param> public VistaDBTable(VistaDBDatabase database_, string tablename) { InitClass(); triggerActive = new TriggerActiveCollection(this); constraintActive = new ConstraintActiveCollection(this); columnCollection = new ColumnCollection(this); Database = database_; tableName = tablename; }
/////////////////////////////////////////////////////////////// ////////////////////CONSTRUCTOR\DESTRUCTOR///////////////////// /////////////////////////////////////////////////////////////// /// <summary> /// Constructor /// </summary> public VistaDBTable() { InitClass(); triggerActive = new TriggerActiveCollection(this); constraintActive = new ConstraintActiveCollection(this); columnCollection = new ColumnCollection(this); }