C# Class Mongo.Context.MongoMetadataCache

ファイルを表示 Open project: object/MongOData Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddCollectionProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName, System.Data.Services.Providers.ResourceType propertyType ) : void
AddCollectionProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName, Type providerType ) : void
AddComplexProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName, System.Data.Services.Providers.ResourceType propertyType ) : void
AddComplexType ( string collectionName ) : System.Data.Services.Providers.ResourceType
AddEntityType ( string collectionName ) : System.Data.Services.Providers.ResourceType
AddKeyProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName, Type providerType ) : void
AddPrimitiveProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName, Type providerType ) : void
AddResourceSet ( string collectionName, System.Data.Services.Providers.ResourceType resourceType ) : void
CloneDSPMetadata ( ) : DSPMetadata
MongoMetadataCache ( string containerName, string rootNamespace ) : System
ResolveResourceSet ( string resourceName ) : System.Data.Services.Providers.ResourceSet
TryResolveResourceType ( string resourceName, System.Data.Services.Providers.ResourceType &resourceType ) : bool

Method Details

AddCollectionProperty() public method

public AddCollectionProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName, System.Data.Services.Providers.ResourceType propertyType ) : void
resourceType System.Data.Services.Providers.ResourceType
propertyName string
propertyType System.Data.Services.Providers.ResourceType
return void

AddCollectionProperty() public method

public AddCollectionProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName, Type providerType ) : void
resourceType System.Data.Services.Providers.ResourceType
propertyName string
providerType System.Type
return void

AddComplexProperty() public method

public AddComplexProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName, System.Data.Services.Providers.ResourceType propertyType ) : void
resourceType System.Data.Services.Providers.ResourceType
propertyName string
propertyType System.Data.Services.Providers.ResourceType
return void

AddComplexType() public method

public AddComplexType ( string collectionName ) : System.Data.Services.Providers.ResourceType
collectionName string
return System.Data.Services.Providers.ResourceType

AddEntityType() public method

public AddEntityType ( string collectionName ) : System.Data.Services.Providers.ResourceType
collectionName string
return System.Data.Services.Providers.ResourceType

AddKeyProperty() public method

public AddKeyProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName, Type providerType ) : void
resourceType System.Data.Services.Providers.ResourceType
propertyName string
providerType System.Type
return void

AddPrimitiveProperty() public method

public AddPrimitiveProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName, Type providerType ) : void
resourceType System.Data.Services.Providers.ResourceType
propertyName string
providerType System.Type
return void

AddResourceSet() public method

public AddResourceSet ( string collectionName, System.Data.Services.Providers.ResourceType resourceType ) : void
collectionName string
resourceType System.Data.Services.Providers.ResourceType
return void

CloneDSPMetadata() public method

public CloneDSPMetadata ( ) : DSPMetadata
return DataServiceProvider.DSPMetadata

MongoMetadataCache() public method

public MongoMetadataCache ( string containerName, string rootNamespace ) : System
containerName string
rootNamespace string
return System

ResolveResourceSet() public method

public ResolveResourceSet ( string resourceName ) : System.Data.Services.Providers.ResourceSet
resourceName string
return System.Data.Services.Providers.ResourceSet

TryResolveResourceType() public method

public TryResolveResourceType ( string resourceName, System.Data.Services.Providers.ResourceType &resourceType ) : bool
resourceName string
resourceType System.Data.Services.Providers.ResourceType
return bool