mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Data System.Data.DataSetExtensions System.Data.Entity System.Data.Entity.Design System.Data.Linq System.Data.SqlXml System.ServiceModel System.ServiceModel.Activation System.ServiceModel.Activities System.ServiceModel.Channels System.ServiceModel.Discovery System.ServiceModel.Internals System.ServiceModel.Routing System.ServiceModel.WasHosting System.ServiceModel.Web System.Web System.Web.ApplicationServices System.Web.DynamicData System.Web.Entity System.Web.Entity.Design System.Web.Extensions System.Web.Mobile System.Web.Routing System.Web.Services System.Xml System.Xml.Linq
59 lines
1.4 KiB
C#
59 lines
1.4 KiB
C#
namespace System.Web.UI.WebControls {
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Text;
|
|
|
|
public abstract class ContextDataSource : QueryableDataSource {
|
|
private ContextDataSourceView _view;
|
|
|
|
internal ContextDataSource(IPage page)
|
|
: base(page) {
|
|
|
|
}
|
|
|
|
internal ContextDataSource(ContextDataSourceView view)
|
|
: base(view) {
|
|
}
|
|
|
|
protected ContextDataSource() {
|
|
}
|
|
|
|
private ContextDataSourceView View {
|
|
get {
|
|
if (_view == null) {
|
|
_view = (ContextDataSourceView)GetView("DefaultView");
|
|
}
|
|
return _view;
|
|
}
|
|
}
|
|
|
|
public virtual string ContextTypeName {
|
|
get {
|
|
return View.ContextTypeName;
|
|
}
|
|
set {
|
|
View.ContextTypeName = value;
|
|
}
|
|
}
|
|
|
|
protected string EntitySetName {
|
|
get {
|
|
return View.EntitySetName;
|
|
}
|
|
set {
|
|
View.EntitySetName = value;
|
|
}
|
|
}
|
|
|
|
public virtual string EntityTypeName {
|
|
get {
|
|
return View.EntityTypeName;
|
|
}
|
|
set {
|
|
View.EntityTypeName = value;
|
|
}
|
|
}
|
|
}
|
|
}
|