public virtual bool CopyFrom(object obj) { if (object.ReferenceEquals(this, obj)) { return(true); } var from = obj as DataSourceImportOptions; if (null != from) { _importTriggerSource = from._importTriggerSource; _doNotSaveCachedTableData = from._doNotSaveCachedTableData; _executeTableScriptAfterImport = from._executeTableScriptAfterImport; _minimumWaitingTimeAfterUpdate = from._minimumWaitingTimeAfterUpdate; _maximumWaitingTimeAfterUpdate = from._maximumWaitingTimeAfterUpdate; _minimumWaitingTimeAfterFirstTrigger = from._minimumWaitingTimeAfterFirstTrigger; _maximumWaitingTimeAfterFirstTrigger = from._maximumWaitingTimeAfterFirstTrigger; _minimumWaitingTimeAfterLastTrigger = from._minimumWaitingTimeAfterLastTrigger; EhSelfChanged(EventArgs.Empty); return(true); } return(false); }
public virtual bool CopyFrom(object obj) { if (object.ReferenceEquals(this, obj)) return true; var from = obj as DataSourceImportOptions; if (null != from) { _importTriggerSource = from._importTriggerSource; _doNotSaveCachedTableData = from._doNotSaveCachedTableData; _executeTableScriptAfterImport = from._executeTableScriptAfterImport; _minimumWaitingTimeAfterUpdate = from._minimumWaitingTimeAfterUpdate; _maximumWaitingTimeAfterUpdate = from._maximumWaitingTimeAfterUpdate; _minimumWaitingTimeAfterFirstTrigger = from._minimumWaitingTimeAfterFirstTrigger; _maximumWaitingTimeAfterFirstTrigger = from._maximumWaitingTimeAfterFirstTrigger; _minimumWaitingTimeAfterLastTrigger = from._minimumWaitingTimeAfterLastTrigger; EhSelfChanged(EventArgs.Empty); return true; } return false; }