public static void AddParameters(this program _program, program_parameters _parameter) { if (!_program.program_parameters.Contains(_parameter)) { _program.program_parameters.Add(_parameter); } }
public static program Add_program_parameters(program _program, program_parameters _program_parameters) { _program_parameters.program = _program; _program_parameters.program_id = _program.id; _program.program_parameters.Add(_program_parameters); return(_program); }
public static program_parameters Create_program_parameters(String _paramName, String _paramValue) { program_parameters temp = new program_parameters { parameter_name = _paramName, parameter_value = _paramValue }; return(temp); }
public static void AddParameters(this program _program, String _paramName, String _paramValue) { program_parameters temp = new program_parameters { parameter_name = _paramName, parameter_value = _paramValue }; if (!_program.program_parameters.Contains(temp)) { _program.program_parameters.Add(temp); } }
public static program Add_program_parameters(program _program, String _paramName, String _paramValue) { program_parameters temp = new program_parameters { program = _program, program_id = _program.id, parameter_name = _paramName, parameter_value = _paramValue }; _program.program_parameters.Add(temp); return(_program); }