Пример #1
0
 protected override T CreateDataSource()
 {
     return((T)Activator.CreateInstance(typeof(T), CachedConnections.GetConnectionForType(typeof(T))));
 }
Пример #2
0
 public static IDisposable SetupNorthwind()
 {
     return(CachedConnections.SetupConnection(CachedConnections.BaseModelType.Northwind));
 }