Example #1
0
        public virtual bool CopyFrom(object obj)
        {
            if (object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            var from = obj as AltaxoOleDbDataSource;

            if (null != from)
            {
                ChildCopyToMember(ref _importOptions, from._importOptions);
                CopyHelper.CopyImmutable(ref _dataQuery, from._dataQuery);
                EhSelfChanged(EventArgs.Empty);
                return(true);
            }
            return(false);
        }