public BaseRepository(TZGEntities context) { this.Context = context; this.Table = context.Set <T>(); }