public OCASIAMeetingUOW()
 {
     context      = new OCASIAMeetingContext();
     repositories = new Dictionary <Type, object>();
     disposed     = false;
     context.Configuration.ProxyCreationEnabled     = false;
     context.Configuration.AutoDetectChangesEnabled = false;
 }
 public OlympicsAsiaGenericRepository(OCASIAMeetingContext context)
 {
     this.context = context;
     this.dbset   = context.Set <T>();
     this.context.Configuration.LazyLoadingEnabled = false;
 }