예제 #1
0
 public SingletonModel(
     SingletonRepository singletonRepo,
     SingletonDataContext singletonDataContext
     )
 {
     _singletonRepo        = singletonRepo;
     _singletonDataContext = singletonDataContext;
 }
예제 #2
0
 public RowCountController(
     ScopedRepository scopedRepo,
     SingletonRepository singletonRepo,
     TransientRepository transientRepo,
     ScopedDataContext scopedDataContext,
     SingletonDataContext singletonDataContext,
     TransientDataContext transientDataContext
     )
 {
     _scopedRepo           = scopedRepo;
     _singletonRepo        = singletonRepo;
     _transientRepo        = transientRepo;
     _scopedDataContext    = scopedDataContext;
     _singletonDataContext = singletonDataContext;
     _transientDataContext = transientDataContext;
 }
 public SingletonRepository(SingletonDataContext generator) : base(generator)
 {
 }