ORM Optimize


一:use Transaction To Batch process

        when you want to  Batch operation,for example,Batch insert,

        Batch update,you can use Transaction ,it can be provide efficiency.

      because if you use transaction all the statement only use a Transaction,

      however,if you not used transaction, it default a statement  with a Transaction

        

二:Use cache

你可能感兴趣的:(ORM Optimize)