model实体校验
SellOrder order = new SellOrder();
//校验指定字段x.TranNo, x.Auditor的类型、长度等合法性
order.ValidationEntity(x => new { x.TranNo, x.Auditor});
//如果是list调用 ValidationEntityList方法
SellOrder order = new SellOrder();
//校验指定字段x.TranNo, x.Auditor的类型、长度等合法性
order.ValidationEntity(x => new { x.TranNo, x.Auditor});
//如果是list调用 ValidationEntityList方法