예제 #1
0
 public SyncBase(OpenAccessContext context)
 {
     Repository    = new Repository <TEntity>(context);
     MDRRepository = new MissingDataRecordRepository(context);
     EntityName    = typeof(TEntity).Name;
     Logger        = LogManager.GetLogger <TEntity>();
 }
예제 #2
0
 public SyncBase(OpenAccessContext context)
 {
     this.context  = context;
     Repository    = new CodeTimeRepository <TEntity>(context);
     MDRRepository = new MissingDataRecordRepository(context);
     Code          = typeof(TEntity).Name;
 }