示例#1
0
 public static TDataContext Get <TDataContext>(this IDataContextReadOnlyScope dataContextScope, string connectionString) where TDataContext : DataContext
 {
     return(dataContextScope.DataContexts.Get <TDataContext>(connectionString));
 }
示例#2
0
 public static TDataContext Get <TDataContext>(this IDataContextReadOnlyScope dataContextScope) where TDataContext : DataContext
 {
     return(dataContextScope.DataContexts.Get <TDataContext>());
 }