private IExportTable GetTableExportTask(string path, bool remote) { var source = new SourceTableQuery() { Dataset = new Jhu.Graywulf.Schema.SqlServer.SqlServerDataset(Jhu.Graywulf.Test.Constants.TestDatasetName, Jhu.Graywulf.Test.AppSettings.IOTestConnectionString), Query = "SELECT * FROM SampleData" }; var destination = new DelimitedTextDataFile() { Uri = Util.UriConverter.FromFilePath(path) }; IExportTable te = null; if (remote) { te = RemoteServiceHelper.CreateObject<IExportTable>(Test.Constants.Localhost); } else { te = new ExportTable(); } te.Source = source; te.Destination = destination; return te; }
public ExportTable(ExportTable old) { CopyMembers(old); }
private void CopyMembers(ExportTable old) { this.source = old.source; this.destination = old.destination; }
private void CopyMembers(ExportTable old) { this.source = old.source; this.destination = old.destination; }
public ExportTable(ExportTable old) { CopyMembers(old); }