DTSWIZARD 我还找不到 SQL Native Client 入口 哈哈
我的sql2005没有导入导出选项,可能是版本的问题,懒得重装一些软件,我的数据不是很多,这样速度也蛮快的。
为什么不使用SQL Native Client?
那个速度快很多,最起码在我这边测试是这样的。
re: 对.NET2.0泛型初步理解 Jake Lin 2009-01-07 05:56
--引用--------------------------------------------------
whlalhj: 呵呵 net 中的泛型其实就是c++中的模板类
--------------------------------------------------------
有点类似,但本质有很大区别
At the syntax level, C# generics are a simpler approach to parameterized types without the complexity of C++ templates. In addition, C# does not attempt to provide all of the functionality that C++ templates provide.
At the implementation level, the primary difference is that C# generic type substitutions are performed at runtime and generic type information is thereby preserved for instantiated objects.
The following are the key differences between C# Generics and C++ templates:
C# generics do not provide the same amount of flexibility as C++ templates. For example, it is not possible to call arithmetic operators in a C# generic class, although it is possible to call user defined operators.
C# does not allow non-type template parameters, such as template C<int i> {}.
C# does not support explicit specialization; that is, a custom implementation of a template for a specific type.
C# does not support partial specialization: a custom implementation for a subset of the type arguments.
C# does not allow the type parameter to be used as the base class for the generic type.
C# does not allow type parameters to have default types.