Example #1
0
 public void Dispose(SoftuniStoreContext context)
 {
     if (context != null)
     {
         context.Dispose();
         context = null;
     }
 }
Example #2
0
 public SoftuniStoreData(SoftuniStoreContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }
Example #3
0
 public Repository(SoftuniStoreContext context)
 {
     this.context = context;
     this.set     = context.Set <T>();
 }