Example #1
0
 public LambdaSingleLoader(EntityFrameworkLoader <T, IEnumerable <T>, C> loader)
     : base((C)null)
 {
     this.loader = loader;
 }
 public static LambdaSingleLoader <T, C> Singleton <T, C>(this EntityFrameworkLoader <T, IEnumerable <T>, C> otherLoader)
     where C : ObjectContext
 {
     return(new LambdaSingleLoader <T, C>(otherLoader));
 }