1:SelectedLot = SelectedLotRow != null ? DataTableEntityTranslator.TranslateToList<Lot>(SelectedLotRow.Row)[0] : null;
2:C# 中using的用法
(在工程中从一个view到另一个view需要传递参数,第二个popup出来的view接受参数)
if (input != null && input is LotPropertyParameter)
{
var pIn = input as LotPropertyParameter;
LotId = pIn.CurrentLotId;
using (new BusyIndicator())
{
GetLotDetail();
}