protected override void OnSaving()
{
if (Session.ObjectLayer is DevExpress.ExpressApp.Security.ClientServer.SecuredSessionObjectLayer)
{
// Client
}
else
{
if (状态 != null && 借款人 != null)
updateState();
// Server
}
base.OnSaving();
}