Home > Net >  Linq to modify data didn't effect
Linq to modify data didn't effect

Time:09-22

RESULT the RESULT information, czUploadList RESULT is empty inside
 
Foreach (var item in czUploadList. GroupBy (o=& gt; O.H AWB))
{
List DnList=item. Select (o=& gt; O.D N). ToList ();
Var result=this. _presenter. OnCZGenerateNewAO (uxPlantFilter SelectedValue, enclosing UserIdentity. Id, dnList, appConfig);
Var RESULT=new FieldCheck ();
If (result. The Status)
{
RESULT. The CheckMsg. Add (new CheckMsg () {Msg=GlobalizationHelper. GetMessage (" PPTPACK001 ", "MESSAGE038", RESULT AoNumber), MsgType=MessageType. Success});
}
The else
{
RESULT. The CheckMsg. Add (new CheckMsg () {Msg=string. Join (", ", RESULT. Messages), MsgType=MessageType. Failure});
}
Item. The Select (c=& gt; {c.a. O=result. AoNumber; C.R ESULT=the RESULT; return c; });
}


  •  Tags:  
  • C#
  • Related