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.
 
 
 
 
 
 

38 lines
1.9 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <unity>
  3. <typeAliases>
  4. <typeAlias alias="IDatabase" type="Learun.DataBase.IDatabase,Learun.DataBase" />
  5. <typeAlias alias="SqlServer" type="Learun.DataBase.SqlServer.Database,Learun.DataBase.SqlServer" />
  6. <typeAlias alias="MySql" type="Learun.DataBase.MySqlEx.Database,Learun.DataBase.MySqlEx" />
  7. <typeAlias alias="Oracle" type="Learun.DataBase.Oracle.Database,Learun.DataBase.Oracle" />
  8. <!--工作流接口-->
  9. <typeAlias alias="INodeMethod" type=" Learun.Application.WorkFlow.INodeMethod, Learun.Application.WorkFlow" />
  10. <typeAlias alias="NodeMethod" type=" Learun.Application.WorkFlow.NodeMethod, Learun.Application.WorkFlow" />
  11. <typeAlias alias="StuLeaveManagementMethod" type="Learun.Application.WorkFlow.StuLeaveManagementMethod,Learun.Application.WorkFlow" />
  12. <!--任务调度器-->
  13. <typeAlias alias="ITSMethod" type="Learun.Application.Extention.TaskScheduling.ITsMethod,Learun.Application.Extention" />
  14. <!--工作流接口:新的流程接口(新版流程使用)-->
  15. <typeAlias alias="IWorkFlowMethod" type=" Learun.Application.WorkFlow.IWorkFlowMethod, Learun.Application.WorkFlow" />
  16. <typeAlias alias="WFFileRelease" type=" Learun.Application.WorkFlow.WFFileRelease, Learun.Application.WorkFlow" />
  17. </typeAliases>
  18. <containers>
  19. <container name="IOCcontainer">
  20. <type type="IDatabase" mapTo="SqlServer" name="SqlServer"></type >
  21. <type type="IDatabase" mapTo="MySql" name="MySql"></type >
  22. <type type="IDatabase" mapTo="Oracle" name="Oracle"></type >
  23. </container>
  24. <container name="WfIOCcontainer">
  25. <type type="INodeMethod" mapTo="NodeMethod"></type>
  26. <type type="IWorkFlowMethod" mapTo="StuLeaveManagementMethod" name="StuLeaveManagementMethod"></type>
  27. </container>
  28. <container name="TsIOCcontainer">
  29. <!--<type type="ITSMethod" mapTo="TestTask" name="taskioc"></type>-->
  30. </container>
  31. </containers>
  32. </unity>