protected override DataSourceView GetView(string viewName) { if (_view == null) { _view = new EntityDataSourceView(this, new WebCacheService()); } return(_view); }
protected override DataSourceView GetView(string viewName) { if (!String.IsNullOrEmpty(EntityDataSourceProperty)) { PopulateDataSource(); } EntityDataSourceView view = (EntityDataSourceView)base.GetView(viewName); // we use that for SalesLogix in order to be able to match by InstanceId or Id view.MatchByAnyKey = true; return(view); }
protected override DataSourceView GetView(string viewName) { if (_view == null) { _view = new EntityDataSourceView(this, new WebCacheService()); } return _view; }