Files
dotnet-bot adf899c629 Adding System.Data..., System.ServiceModel..., and System.Web...
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
2016-05-03 00:07:37 +02:00

26 lines
1.3 KiB
C#

namespace System.Web.DynamicData {
using System;
using System.Web.DynamicData.ModelProviders;
using System.Collections.Generic;
using System.Collections.ObjectModel;
internal interface IMetaModel {
string DynamicDataFolderVirtualPath { get; set; }
IFieldTemplateFactory FieldTemplateFactory { get; set; }
string GetActionPath(string tableName, string action, object row);
IMetaTable GetTable(string tableName, Type contextType);
IMetaTable GetTable(string uniqueTableName);
IMetaTable GetTable(Type entityType);
void RegisterContext(Func<object> contextFactory);
void RegisterContext(Func<object> contextFactory, ContextConfiguration configuration);
void RegisterContext(Type contextType);
void RegisterContext(Type contextType, ContextConfiguration configuration);
void RegisterContext(DataModelProvider dataModelProvider);
void RegisterContext(DataModelProvider dataModelProvider, ContextConfiguration configuration);
ReadOnlyCollection<IMetaTable> Tables { get; }
bool TryGetTable(string uniqueTableName, out IMetaTable table);
bool TryGetTable(Type entityType, out IMetaTable table);
List<IMetaTable> VisibleTables { get; }
}
}