Beispiel #1
0
 /// <summary>
 /// 初始化 <see cref="DbProviderFactory"/> 对象。
 /// </summary>
 /// <returns></returns>
 protected override DbProviderFactory InitDbProviderFactory()
 {
     return(string.IsNullOrEmpty(fieldName) ?
            AssemblyLoader.Load(assemblyName) :
            AssemblyLoader.Load(assemblyName, fieldName));
 }