2 writes to ContextType
System.Web.DynamicData (2)
DynamicData\ModelProviders\DLinqDataModelProvider.cs (1)
20
ContextType
= context.GetType();
DynamicData\ModelProviders\EFDataModelProvider.cs (1)
26
ContextType
= _context.GetType();
8 references to ContextType
System.Web.DynamicData (8)
DynamicData\MetaModel.cs (4)
222
if (_contextTypes.Contains(dataModelProvider.
ContextType
)) {
223
throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextAlreadyRegistered, dataModelProvider.
ContextType
.FullName));
246
_contextTypes.Add(dataModelProvider.
ContextType
);
249
MetaModelManager.AddModel(dataModelProvider.
ContextType
, this);
DynamicData\MetaTable.cs (1)
85
return Provider.DataModel.
ContextType
;
DynamicData\ModelProviders\DLinqDataModelProvider.cs (1)
23
foreach (PropertyInfo prop in
ContextType
.GetProperties()) {
DynamicData\ModelProviders\EFDataModelProvider.cs (1)
31
_context.MetadataWorkspace.LoadFromAssembly(
ContextType
.Assembly);
DynamicData\ModelProviders\EFTableProvider.cs (1)
22
var genericMethod = DataModel.
ContextType
.GetMethod("CreateQuery");