示例#1
0
 public static object GetValueExt <TSelf>(TGraph graph, TTable row)
     where TSelf : As <TValue>
 => ((PXFieldState)graph.Caches <TTable>().GetStateExt(row, typeof(TSelf).Name.Split('+').Last()))?.Value;
示例#2
0
 public static object GetValueExt <TSelf>(TGraph graph, TTable row)
     where TSelf : PXFieldAttachedTo <TTable> .By <TGraph> .As <TValue>
 => ((PXFieldState)graph.Caches <TTable>().GetStateExt(row, typeof(TSelf).Name.LastSegment('+')))?.Value;