示例#1
0
 public void create_extenders_Test()
 {
     DbManagerFactory.SetRemoteFactory();
     using (DbManagerProxy manager = DbManagerFactory.Factory.Create())
     {
         var result = manager
                      .SetCommand("select @par1 - @par2",
                                  manager.InputParameter("par1", 5),
                                  manager.InputParameter("par2", 2)
                                  )
                      .ExecuteScalar <int>();
     }
 }