?? serviceproviderdal.cs
字號:
using System;
using System.Reflection;
using CallCenter.IDAL;
namespace CallCenter.DALFactory
{
/// <summary>
///
/// </summary>
public class ServiceProviderDAL
{
public ServiceProviderDAL()
{
//
// TODO: 在此處添加構造函數邏輯
//
}
public static CallCenter.IDAL.IServiceProvider Create()
{
//string path = System.Configuration.ConfigurationSettings.AppSettings["WebDAL"];
string path = "CallCenter.OracleDAL";
string className = path + ".DBServiceProvider";
return ( CallCenter.IDAL.IServiceProvider)Assembly.Load(path).CreateInstance(className);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -