public void SetOwner(IDevClassReferencer owner)
 {
     _owner = owner;
     if (_text == null)
     {
         _text = new DTDestTextFile();
     }
     _text.SetOwner(_owner);
     if (_db == null)
     {
         _db = new DTDest();
     }
     _db.SetOwner(_owner);
 }
Beispiel #2
0
        public object Clone()
        {
            DTDest obj = new DTDest();

            obj.SetOwner(_owner);
            obj.TableName = TableName;
            if (_fields != null)
            {
                obj._fields = (FieldCollection)_fields.Clone();
            }
            if (connect != null)
            {
                obj.connect = (ConnectionItem)connect.Clone();
            }
            return(obj);
        }