You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
667 B

  1. using NFine.Data;
  2. using NFine.Domain.Entity.SystemManage;
  3. using NFine.Domain.IRepository.SystemManage;
  4. using NFine.Repository.SystemManage;
  5. using System.Collections.Generic;
  6. namespace NFine.Repository.SystemManage
  7. {
  8. public class ModuleButtonRepository : RepositoryBase<ModuleButtonEntity>, IModuleButtonRepository
  9. {
  10. public void SubmitCloneButton(List<ModuleButtonEntity> entitys)
  11. {
  12. using (var db = new RepositoryBase().BeginTrans())
  13. {
  14. foreach (var item in entitys)
  15. {
  16. db.Insert(item);
  17. }
  18. db.Commit();
  19. }
  20. }
  21. }
  22. }