C# 클래스 Mongo.Context.MongoMetadata

파일 보기 프로젝트 열기: object/MongOData 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ContainerName string
MappedObjectIdName string
MappedObjectIdType System.Type
ProviderObjectIdName string
ProviderObjectIdType System.Type
RootNamespace string
UseGlobalComplexTypeNames bool

Private Properties

프로퍼티 타입 설명
AddDocumentProperty void
AddDocumentType System.Data.Services.Providers.ResourceType
AddProviderType void
AddResourceProperty void
AddResourceSet System.Data.Services.Providers.ResourceSet
GetCollectionNames IEnumerable
GetElementType System.Type
GetOrCreateMetadataCache MongoMetadataCache
GetQualifiedPropertyName string
GetQualifiedTypeName string
GetQualifiedTypePrefix string
GetRawValueType System.Type
GetResourcePropertyName string
IsObjectId bool
NormalizeResourcePropertyName string
PopulateMetadata void
PopulateMetadataFromCollection void
RegisterArrayProperty void
RegisterDocumentProperties void
RegisterDocumentProperty void
RegisterResourceProperty void
ResolveProviderType System.Type
UpdateResourceSet void

공개 메소드들

메소드 설명
CreateDSPMetadata ( ) : DSPMetadata
MongoMetadata ( string connectionString, MongoConfiguration metadata = null ) : System
ResetDSPMetadata ( ) : void
ResolveResourceProperty ( System.Data.Services.Providers.ResourceType resourceType, BsonElement element ) : System.Data.Services.Providers.ResourceProperty
ResolveResourceProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName ) : System.Data.Services.Providers.ResourceProperty
ResolveResourceSet ( string resourceName ) : System.Data.Services.Providers.ResourceSet
ResolveResourceType ( string resourceName, string ownerPrefix = null ) : System.Data.Services.Providers.ResourceType

비공개 메소드들

메소드 설명
AddDocumentProperty ( MongoContext context, string collectionName, System.Data.Services.Providers.ResourceType collectionType, string propertyName, BsonElement element, bool isCollection = false ) : void
AddDocumentType ( MongoContext context, string collectionName, BsonDocument document, ResourceTypeKind resourceTypeKind ) : System.Data.Services.Providers.ResourceType
AddProviderType ( string collectionName, string elementName, BsonValue elementValue, bool isKey = false ) : void
AddResourceProperty ( MongoContext context, string collectionName, System.Data.Services.Providers.ResourceType collectionType, BsonElement element, bool treatObjectIdAsKey = false ) : void
AddResourceSet ( MongoContext context, string collectionName, BsonDocument document = null ) : System.Data.Services.Providers.ResourceSet
GetCollectionNames ( MongoContext context ) : IEnumerable
GetElementType ( BsonElement element, bool treatObjectIdAsKey ) : Type
GetOrCreateMetadataCache ( ) : MongoMetadataCache
GetQualifiedPropertyName ( string typeName, string propertyName ) : string
GetQualifiedTypeName ( string collectionName, string resourceName ) : string
GetQualifiedTypePrefix ( string ownerName ) : string
GetRawValueType ( BsonValue elementValue, bool isKey = false ) : Type
GetResourcePropertyName ( BsonElement element, ResourceTypeKind resourceTypeKind ) : string
IsObjectId ( BsonElement element ) : bool
NormalizeResourcePropertyName ( string propertyName ) : string
PopulateMetadata ( MongoContext context ) : void
PopulateMetadataFromCollection ( MongoContext context, string collectionName, System.Data.Services.Providers.ResourceSet resourceSet ) : void
RegisterArrayProperty ( MongoContext context, System.Data.Services.Providers.ResourceType collectionType, BsonElement element ) : void
RegisterDocumentProperties ( MongoContext context, System.Data.Services.Providers.ResourceType collectionType, BsonElement element ) : void
RegisterDocumentProperty ( MongoContext context, System.Data.Services.Providers.ResourceType resourceType, BsonElement element ) : void
RegisterResourceProperty ( MongoContext context, System.Data.Services.Providers.ResourceType resourceType, BsonElement element ) : void
ResolveProviderType ( BsonValue elementValue, bool isKey ) : Type
UpdateResourceSet ( MongoContext context, System.Data.Services.Providers.ResourceSet resourceSet, BsonDocument document ) : void

메소드 상세

CreateDSPMetadata() 공개 메소드

public CreateDSPMetadata ( ) : DSPMetadata
리턴 DataServiceProvider.DSPMetadata

MongoMetadata() 공개 메소드

public MongoMetadata ( string connectionString, MongoConfiguration metadata = null ) : System
connectionString string
metadata MongoConfiguration
리턴 System

ResetDSPMetadata() 공개 정적인 메소드

public static ResetDSPMetadata ( ) : void
리턴 void

ResolveResourceProperty() 공개 메소드

public ResolveResourceProperty ( System.Data.Services.Providers.ResourceType resourceType, BsonElement element ) : System.Data.Services.Providers.ResourceProperty
resourceType System.Data.Services.Providers.ResourceType
element BsonElement
리턴 System.Data.Services.Providers.ResourceProperty

ResolveResourceProperty() 공개 메소드

public ResolveResourceProperty ( System.Data.Services.Providers.ResourceType resourceType, string propertyName ) : System.Data.Services.Providers.ResourceProperty
resourceType System.Data.Services.Providers.ResourceType
propertyName string
리턴 System.Data.Services.Providers.ResourceProperty

ResolveResourceSet() 공개 메소드

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

ResolveResourceType() 공개 메소드

public ResolveResourceType ( string resourceName, string ownerPrefix = null ) : System.Data.Services.Providers.ResourceType
resourceName string
ownerPrefix string
리턴 System.Data.Services.Providers.ResourceType

프로퍼티 상세

ContainerName 공개적으로 정적으로 프로퍼티

public static string ContainerName
리턴 string

MappedObjectIdName 공개적으로 정적으로 프로퍼티

public static string MappedObjectIdName
리턴 string

MappedObjectIdType 공개적으로 정적으로 프로퍼티

public static Type,System MappedObjectIdType
리턴 System.Type

ProviderObjectIdName 공개적으로 정적으로 프로퍼티

public static string ProviderObjectIdName
리턴 string

ProviderObjectIdType 공개적으로 정적으로 프로퍼티

public static Type,System ProviderObjectIdType
리턴 System.Type

RootNamespace 공개적으로 정적으로 프로퍼티

public static string RootNamespace
리턴 string

UseGlobalComplexTypeNames 공개적으로 정적으로 프로퍼티

public static bool UseGlobalComplexTypeNames
리턴 bool