Allow update of a collection of business entities.
Inheritance: System.Web.UI.DataSourceView
Exemple #1
0
 protected override DataSourceView GetView(string viewName)
 {
     if (_view == null)
     {
         _view = new EntityDataSourceView(this, new WebCacheService());
     }
     return(_view);
 }
Exemple #2
0
        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);
        }
Exemple #3
0
 protected override DataSourceView GetView(string viewName)
 {
     if (_view == null)
     {
         _view = new EntityDataSourceView(this, new WebCacheService());
     }
     return _view;
 }