通过配置文件将自动映射到对应的类
Unity.config:
就查询数据库方面来说
例如:
先获取配置文件信息:
///
<summary>
///
构造函数
///
</summary>
public
UnityDependencyResolver():
this
(
new
UnityContainer
())
{
///
读取Unity.congfig的配置
var
fileMap =
new
ExeConfigurationFileMap
{ ExeConfigFilename =
"Unity.config"
};
//从config文件中读取配置信息
Configuration
configuration =
ConfigurationManager
.OpenMappedExeConfiguration(fileMap,
ConfigurationUserLevel
.None);
UnityConfigurationSection
unitySection = (
UnityConfigurationSection
)configuration.GetSection(
"unity"
);
string
DBType =
ConfigurationManager
.AppSettings[
"DBType"
];
if
(DBType ==
"Oracle"
)
{
unitySection.Configure(_container,
"Oracle"
);
}
else
if
(DBType ==
"SqlServer"
)
{
unitySection.Configure(_container,
"SqlServer"
);
}
}
配置文件中:
<?
xml
version
=
"
1.0
"
encoding
=
"
utf-8
"
?>
<!--
Unity配置文件
-->
<
configuration
>
<
configSections
>
<
section
name
=
"
unity
"
type
=
"
Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Microsoft.Practices.Unity.Configuration
"
/>
</
configSections
>
<
unity
xmlns
=
"
http://schemas.microsoft.com/practices/2010/unity
"
>
<
container
name
=
"
SqlServer
"
>
<
register
type
=
"
EPS.Budget.DAL.Interface.IDA_Tree,EPS.Budget.DAL.Interface
"
mapTo
=
"
EPS.Budget.DAL.SqlServer.DA_Tree,EPS.Budget.DAL.SqlServer
"
/>
<
register
type
=
"
EPS.Budget.DAL.Interface.IEP_Report,EPS.Budget.DAL.Interface
"
mapTo
=
"
EPS.Budget.DAL.SqlServer.EP_BB,EPS.Budget.DAL.SqlServer
"
/>
<
register
type
=
"
EPS.Budget.DAL.Interface.IUser,EPS.Budget.DAL.Interface
"
mapTo
=
"
EPS.Budget.DAL.SqlServer.User,EPS.Budget.DAL.SqlServer
"
/>
</
container
>
<
container
name
=
"
Oracle
"
>
<
register
type
=
"
EPS.Budget.DAL.Interface.IDA_Tree,EPS.Budget.DAL.Interface
"
mapTo
=
"
EPS.Budget.DAL.Oracle.DA_Tree,EPS.Budget.DAL.Oracle
"
/>
<
register
type
=
"
EPS.Budget.DAL.Interface.IEP_Report,EPS.Budget.DAL.Interface
"
mapTo
=
"
EPS.Budget.DAL.Oracle.EP_BB,EPS.Budget.DAL.Oracle
"
/>
<
register
type
=
"
EPS.Budget.DAL.Interface.IUser,EPS.Budget.DAL.Interface
"
mapTo
=
"
EPS.Budget.DAL.Oracle.User,EPS.Budget.DAL.Oracle
"
/>
</
container
>
</
unity
>
</
configuration
>
自动写配置文件的方法:
///
<summary>
///
自动创建配置文件
///
</summary>
private
static
void
AutoCreateConfig()
{
try
{
// 是否自动生成配置文件
string
AutoConfigWcfUnity =
ConfigurationManager
.AppSettings[
"AutoConfigWcfUnity"
].ToString();
// 服务地址
string
ServerBaseAddress =
ConfigurationManager
.AppSettings[
"ServerBaseAddress"
].ToString();
if
(!AutoConfigWcfUnity.Equals(
"1"
)) {
return
; }
// 当前程序集名
string
currAssemblyName =
Assembly
.GetCallingAssembly().GetName().Name;
// XmlDocument Config文件对象
XmlDocument
docConfig =
new
XmlDocument
();
// 当前项目运行文件路径名
string
strUnityConfigName =
Directory
.GetCurrentDirectory() +
"\\Unity.config"
;
// 读取并修改Unity.config
docConfig.Load(strUnityConfigName);
string
typeAliasOracle =
"EPS.Budget.DAL.Oracle.{0},EPS.Budget.DAL.Oracle"
;
string
typeAliasSqlserver =
"EPS.Budget.DAL.SqlServer.{0},EPS.Budget.DAL.SqlServer"
;
string
typeAliasInterface =
"EPS.Budget.DAL.Interface.{0},EPS.Budget.DAL.Interface"
;
// 获取数据库接口程序集
var
AssemblyInterface =
Assembly
.Load(
"EPS.Budget.DAL.Interface"
).GetTypes().ToList();
// 获取container
XmlNode
nodeUnity = docConfig.GetElementsByTagName(
"unity"
)[0];
nodeUnity.RemoveAll();
// sqlserver容器
XmlElement
sqlserver = docConfig.CreateElement(
"container"
, nodeUnity.NamespaceURI);
sqlserver.SetAttribute(
"name"
,
"SqlServer"
);
nodeUnity.AppendChild(sqlserver);
// oracle容器
XmlElement
oracle = docConfig.CreateElement(
"container"
, nodeUnity.NamespaceURI);
oracle.SetAttribute(
"name"
,
"Oracle"
);
nodeUnity.AppendChild(oracle);
foreach
(
var
item
in
AssemblyInterface)
{
XmlElement
typeSqlserver = docConfig.CreateElement(
"register"
, sqlserver.NamespaceURI);
typeSqlserver.SetAttribute(
"type"
,
string
.Format(typeAliasInterface, item.Name));
typeSqlserver.SetAttribute(
"mapTo"
,
string
.Format(typeAliasSqlserver, item.Name.Substring(1)));
sqlserver.AppendChild(typeSqlserver);
XmlElement
typeOracle = docConfig.CreateElement(
"register"
, oracle.NamespaceURI);
typeOracle.SetAttribute(
"type"
,
string
.Format(typeAliasInterface, item.Name));
typeOracle.SetAttribute(
"mapTo"
,
string
.Format(typeAliasOracle, item.Name.Substring(1)));
oracle.AppendChild(typeOracle);
}
docConfig.Save(strUnityConfigName);
// App.config路径名
string
strAppConfig =
AppDomain
.CurrentDomain.SetupInformation.ConfigurationFile;
// 读取并修改App.config
docConfig.Load(strAppConfig);
// 获取wcf服务程序集
Assembly
assembly =
Assembly
.Load(
"EPS.Budget.WCF.IService"
);
// 获取services
var
serverlist = assembly.GetTypes().ToList();
var
nodesServices = docConfig.GetElementsByTagName(
"services"
)[0];
nodesServices.RemoveAll();
foreach
(
var
item
in
serverlist)
{
XmlElement
service = docConfig.CreateElement(
"service"
);
service.SetAttribute(
"name"
,
string
.Format(
"EPS.Budget.WCF.Service.{0}"
, item.Name.Substring(1)));
service.SetAttribute(
"behaviorConfiguration"
,
"WebServiceBehaviour"
);
nodesServices.AppendChild(service);
XmlElement
endpoint = docConfig.CreateElement(
"endpoint"
);
endpoint.SetAttribute(
"binding"
,
"webHttpBinding"
);
endpoint.SetAttribute(
"bindingConfiguration"
,
"WebServiceBinding"
);
endpoint.SetAttribute(
"address"
, ServerBaseAddress + item.Name.Substring(1));
endpoint.SetAttribute(
"contract"
,
string
.Format(
"EPS.Budget.WCF.IService.{0}"
, item.Name));
service.AppendChild(endpoint);
}
docConfig.Save(strAppConfig);
ConfigurationManager
.RefreshSection(
"system.serviceModel"
);
}
catch
(
Exception
ex)
{
throw
ex;
}
}
文件范例:
<?xml version="1.0" encoding="utf-8"?>
<!--Unity配置文件-->
<configuration>
<configSections>
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Microsoft.Practices.Unity.Configuration" />
</configSections>
<unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
<container name="SqlServer">
<register type="EPS.Budget.DAL.Interface.IDB_COM,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.DB_COM,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.IDB_Transaction,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.DB_Transaction,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.IDYN_BB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.DYN_BB,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.IEP_Report,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.EP_Report,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BIFX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BIFX_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BIFX_JSZ_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ_JSHL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BZ_JSHL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ_LSHL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BZ_LSHL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_DOC,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FILE,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_DOC_FILE,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_DOC_FJ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_DOC_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_DOC_JSZ_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_HS_DY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_HS_DY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_HS_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_HS_PZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JSZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JSZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JSZ_GN_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JSZ_GN_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_JSZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JS_JSZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_WD_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JS_WD_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_YH,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JS_YH,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_CS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_CS,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_CS_SJJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_CS_SJJ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_DYG_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_DYG_PZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_DYG_TYPZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_DYG_TYPZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_FD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_FD,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_JY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_JY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_LC,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_LC_PZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_LC_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_MBBB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_MBBB,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JS,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_PJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_PJ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_QZMB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_QZMB,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_WD_KZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_WD_KZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_ZDY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_ZDY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_MB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_MB,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_ML,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_ML,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_QJSL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_QJSL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_YSCY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_YSCY_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_YSCY_PZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_CY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY_QJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_CY_QJ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY_ZZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_CY_ZZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_YSCY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_YSCY_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_YSCY_PZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_YH,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_YH,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_YY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_YY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_YY_ZD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_YY_ZD,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_ZYCX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_ZYCX_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_ZYCX_JSZ_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISYS_BL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.SYS_BL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISYS_WD_ZD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.SYS_WD_ZD,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISYS_MENU,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.SYS_MENU,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISYS_ZHCS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.SYS_ZHCS,EPS.Budget.DAL.SqlServer" />
</container>
<container name="Oracle">
<register type="EPS.Budget.DAL.Interface.IDB_COM,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.DB_COM,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.IDB_Transaction,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.DB_Transaction,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.IDYN_BB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.DYN_BB,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.IEP_Report,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.EP_Report,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BIFX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BIFX_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BIFX_JSZ_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ_JSHL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BZ_JSHL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ_LSHL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BZ_LSHL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_DOC,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FILE,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_DOC_FILE,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_DOC_FJ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_DOC_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_DOC_JSZ_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_HS_DY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_HS_DY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_HS_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_HS_PZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JSZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JSZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JSZ_GN_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JSZ_GN_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_JSZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JS_JSZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_WD_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JS_WD_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_YH,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JS_YH,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_CS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_CS,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_CS_SJJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_CS_SJJ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_DYG_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_DYG_PZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_DYG_TYPZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_DYG_TYPZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_FD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_FD,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_JY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_JY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_LC,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_LC_PZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_LC_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_MBBB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_MBBB,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JS,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_PJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_PJ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_QZMB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_QZMB,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_WD_KZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_WD_KZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_ZDY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_ZDY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_MB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_MB,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_ML,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_ML,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_QJSL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_QJSL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_YSCY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_YSCY_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_YSCY_PZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_CY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY_QJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_CY_QJ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY_ZZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_CY_ZZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_YSCY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_YSCY_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_YSCY_PZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_YH,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_YH,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_YY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_YY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_YY_ZD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_YY_ZD,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_ZYCX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_ZYCX_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_ZYCX_JSZ_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISYS_BL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.SYS_BL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISYS_WD_ZD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.SYS_WD_ZD,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISYS_MENU,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.SYS_MENU,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISYS_ZHCS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.SYS_ZHCS,EPS.Budget.DAL.Oracle" />
</container>
</unity>
</configuration>
<!--Unity配置文件-->
<configuration>
<configSections>
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Microsoft.Practices.Unity.Configuration" />
</configSections>
<unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
<container name="SqlServer">
<register type="EPS.Budget.DAL.Interface.IDB_COM,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.DB_COM,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.IDB_Transaction,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.DB_Transaction,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.IDYN_BB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.DYN_BB,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.IEP_Report,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.EP_Report,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BIFX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BIFX_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BIFX_JSZ_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ_JSHL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BZ_JSHL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ_LSHL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_BZ_LSHL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_DOC,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FILE,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_DOC_FILE,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_DOC_FJ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_DOC_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_DOC_JSZ_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_HS_DY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_HS_DY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_HS_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_HS_PZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JSZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JSZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JSZ_GN_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JSZ_GN_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_JSZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JS_JSZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_WD_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JS_WD_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_YH,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JS_YH,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_CS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_CS,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_CS_SJJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_CS_SJJ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_DYG_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_DYG_PZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_DYG_TYPZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_DYG_TYPZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_FD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_FD,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_JY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_JY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_LC,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_LC_PZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_LC_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_MBBB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_MBBB,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_JS,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_PJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_PJ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_QZMB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_QZMB,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_WD_KZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_WD_KZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_ZDY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_MB_ZDY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_MB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_MB,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_ML,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_ML,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_QJSL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_QJSL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_YSCY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_YSCY_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW_YSCY_PZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_CY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY_QJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_CY_QJ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY_ZZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_CY_ZZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_YSCY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_YSCY_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_WD_YSCY_PZ,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_YH,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_YH,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_YY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_YY,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_YY_ZD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_YY_ZD,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_ZYCX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_ZYCX_FL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_ZYCX_JSZ_QX,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISYS_BL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.SYS_BL,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISYS_WD_ZD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.SYS_WD_ZD,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.STA_RW,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISYS_MENU,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.SYS_MENU,EPS.Budget.DAL.SqlServer" />
<register type="EPS.Budget.DAL.Interface.ISYS_ZHCS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.SqlServer.SYS_ZHCS,EPS.Budget.DAL.SqlServer" />
</container>
<container name="Oracle">
<register type="EPS.Budget.DAL.Interface.IDB_COM,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.DB_COM,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.IDB_Transaction,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.DB_Transaction,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.IDYN_BB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.DYN_BB,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.IEP_Report,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.EP_Report,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BIFX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BIFX_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BIFX_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BIFX_JSZ_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ_JSHL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BZ_JSHL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_BZ_LSHL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_BZ_LSHL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_DOC,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FILE,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_DOC_FILE,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_DOC_FJ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_DOC_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_DOC_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_DOC_JSZ_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_HS_DY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_HS_DY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_HS_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_HS_PZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JSZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JSZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JSZ_GN_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JSZ_GN_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_JSZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JS_JSZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_WD_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JS_WD_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS_YH,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JS_YH,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_CS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_CS,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_CS_SJJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_CS_SJJ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_DYG_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_DYG_PZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_DYG_TYPZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_DYG_TYPZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_FD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_FD,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_JY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_JY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_LC,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_LC_PZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_LC_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_LC_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_MBBB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_MBBB,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_JS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_JS,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_PJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_PJ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_QZMB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_QZMB,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_WD_KZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_WD_KZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_MB_ZDY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_MB_ZDY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_MB,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_MB,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_ML,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_ML,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_QJSL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_QJSL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_YSCY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_YSCY_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW_YSCY_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW_YSCY_PZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_CY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY_QJ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_CY_QJ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_CY_ZZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_CY_ZZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_YSCY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_YSCY_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_WD_YSCY_PZ,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_WD_YSCY_PZ,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_YH,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_YH,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_YY,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_YY,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_YY_ZD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_YY_ZD,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_ZYCX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX_FL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_ZYCX_FL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_ZYCX_JSZ_QX,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_ZYCX_JSZ_QX,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISYS_BL,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.SYS_BL,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISYS_WD_ZD,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.SYS_WD_ZD,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISTA_RW,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.STA_RW,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISYS_MENU,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.SYS_MENU,EPS.Budget.DAL.Oracle" />
<register type="EPS.Budget.DAL.Interface.ISYS_ZHCS,EPS.Budget.DAL.Interface" mapTo="EPS.Budget.DAL.Oracle.SYS_ZHCS,EPS.Budget.DAL.Oracle" />
</container>
</unity>
</configuration>