///<summary>Generates a single Unit Test ProgramProperty. This method refreshes the cache.</summary> public static ProgramProperty CreateProgramProperty(long programNum, string propertyDesc, long clinicNum, string propertyValue = "", string computerName = "") { ProgramProperty prop = new ProgramProperty(); prop.ProgramNum = programNum; prop.PropertyDesc = propertyDesc; prop.PropertyValue = propertyValue; prop.ComputerName = computerName; prop.ClinicNum = clinicNum; ProgramProperties.Insert(prop); ProgramProperties.RefreshCache(); return(prop); }