public void SetPrimaryKey(List <WACParameter> parms) { if (ListSource != null) { ListSource.MasterKey.ParmValue = WACParameter.GetMasterKey(parms).ParmValue; } }