Пример #1
0
        protected virtual LinqDataSourceView CreateView()
        {
            var view = new LinqDataSourceView(this, Guid.NewGuid().ToString(), HttpContext.Current);

            if (IsTrackingViewState)
            {
                ((IStateManager)view).TrackViewState();
            }
            return(view);
        }
Пример #2
0
		protected virtual LinqDataSourceView CreateView ()
		{
			var view = new LinqDataSourceView (this, Guid.NewGuid ().ToString (), HttpContext.Current);
			if (IsTrackingViewState)
				((IStateManager) view).TrackViewState ();
			return view;
		}
Пример #3
0
 internal LinqDataSource(LinqDataSourceView view)
     : base(view) {
 }
Пример #4
0
 internal LinqDataSource(LinqDataSourceView view)
     : base(view)
 {
 }