Пример #1
0
 /// <summary>
 /// 创建并返回与当前 <see cref="DbProviderFactory"/> 关联的 <see cref="DbConnection"/> 对象。
 /// </summary>
 /// <returns>与当前 <see cref="DbProviderFactory"/> 关联的 <see cref="DbConnection"/> 对象。</returns>
 public virtual DbConnection CreateConnection()
 {
     return(DatabaseExtensions.CreateConnection(this.PrimitiveDatabase));
 }