using System; namespace DatabaseExport { /// /// this is a simplified class to represent a row in the tblTestTemplates table for tables /// it was designed as a short term alternative to TestTempalte itself /// public class TestTemplateTableObject { public TestTemplateTableObject(string name, string description, RecordingModes recordingMode, DateTime lastModified, string lastModifiedBy, bool isComplete, string completionErrorMessage, bool useCustomerDetails, string customerDetails, int[] tagIds) { Name = name; Description = description; RecordingMode = recordingMode; LastModified = lastModified; LastModifiedBy = lastModifiedBy; IsComplete = isComplete; CompletionErrorMessage = completionErrorMessage; UseCustomerDetails = useCustomerDetails; CustomerDetails = customerDetails; TagIds = tagIds; } public string Name { get; private set; } public string Description { get; private set; } public RecordingModes RecordingMode { get; private set; } public DateTime LastModified { get; private set; } public string LastModifiedBy { get; private set; } public bool IsComplete { get; private set; } public string CompletionErrorMessage { get; private set; } public bool UseCustomerDetails { get; private set; } public string CustomerDetails { get; private set; } public int[] TagIds { get; private set; } } }