using System.Collections.ObjectModel; namespace System.Web.DynamicData.ModelProviders { /// /// Base data model provider class /// Each provider type (e.g. Linq To Sql, Entity Framework, 3rd party) extends this class. /// public abstract class DataModelProvider { /// /// The list of tables exposed by this data model /// public abstract ReadOnlyCollection Tables { get; } /// /// The type of the data context /// public virtual Type ContextType { get; protected set; } /// /// Create an instance of the data context /// public abstract object CreateContext(); } }