Пример #1
0
 protected void dvDataSource_Inserting(object sender, ObjectDataSourceMethodEventArgs e)
 {
     Broker.DataAccess.PaymentType pt = e.InputParameters["entityToInsert"] as Broker.DataAccess.PaymentType;
     PaymentTypeController.ValidateInsertCode(pt.Code);
 }