示例#1
0
 public static void UpdateFieldOfFirstOfPair <OutputType, InputType1, InputType2>(this Records.Records Records, System.String OutputFieldName, System.String InputFieldName1, System.String InputFieldName2, System.Func <InputType1, InputType2, OutputType> Action)
 {
     Records.Map((One, Two) => One.Update(OutputFieldName, Action(One.Get <InputType1>(InputFieldName1), Two.Get <InputType2>(InputFieldName2))));
 }
示例#2
0
 public static void UpdateFieldOfSecondOfPair <OutputType, InputType>(this Records.Records Records, System.String OutputFieldName, System.String InputFieldName, System.Func <InputType, InputType, OutputType> Action)
 {
     Records.Map((One, Two) => Two.Update(OutputFieldName, Action(One.Get <InputType>(InputFieldName), Two.Get <InputType>(InputFieldName))));
 }