1 implementation of IDataServiceMetadataProvider
System.Data.Services (1)
System\Data\Services\Providers\BaseServiceProvider.cs (1)
30
internal abstract class BaseServiceProvider :
IDataServiceMetadataProvider
, IDataServiceQueryProvider, IDisposable, IProjectionProvider, IServiceProvider
15 references to IDataServiceMetadataProvider
System.Data.Services (15)
System\Data\Services\DataService.cs (4)
566
private static DataServiceConfiguration CreateConfiguration(Type dataServiceType,
IDataServiceMetadataProvider
provider)
1904
IDataServiceMetadataProvider
metadataProviderInstance = WebUtil.GetService<
IDataServiceMetadataProvider
>(this);
1935
metadataProviderInstance = dataSourceInstance as
IDataServiceMetadataProvider
;
System\Data\Services\DataServiceConfiguration.cs (2)
58
private
IDataServiceMetadataProvider
provider;
133
internal DataServiceConfiguration(
IDataServiceMetadataProvider
provider)
System\Data\Services\Providers\BaseServiceProvider.cs (1)
261
if (typeof(
IDataServiceMetadataProvider
) == serviceType ||
System\Data\Services\Providers\DataServiceProviderWrapper.cs (3)
80
private
IDataServiceMetadataProvider
metadataProvider;
97
internal DataServiceProviderWrapper(MetadataCacheItem metadata,
IDataServiceMetadataProvider
metadataProvider, IDataServiceQueryProvider queryProvider)
925
Debug.Assert(typeof(T) != typeof(
IDataServiceMetadataProvider
), "typeof(T) != typeof(IDataServiceMetadataProvider)");
System\Data\Services\Providers\ObjectContextServiceProvider.cs (4)
145
((
IDataServiceMetadataProvider
)this).TryResolveResourceSet(targetEntitySetName, out targetResourceSet);
151
((
IDataServiceMetadataProvider
)this).TryResolveResourceType(targetEntityType.FullName, out targetResourceType);
349
((
IDataServiceMetadataProvider
)this).TryResolveResourceType(fullTypeName, out resourceType);
786
foreach (ResourceType type in ((
IDataServiceMetadataProvider
)this).Types)
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
283
throw new InvalidOperationException(Strings.ReflectionProvider_InvalidEntitySetProperty(property.Name, XmlConvert.EncodeName(((
IDataServiceMetadataProvider
)this).ContainerName)));