MetadataStore Methods Breeze.sharp

The MetadataStore type exposes the following members.

Methods

  Name Description
Public method AddDataService
Adds a DataService to this MetadataStore. If a DataService with the same serviceName is already in the MetadataStore an exception will be thrown unless the 'shouldOverwrite' parameter is set to 'true'.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method ExportMetadata
Exports metadata as a string.
Public method ExportMetadata(TextWriter)
Exports metadata via a TextWriter.
Public method FetchMetadata(DataService)
Fetches the metadata for a specified 'service'. This method is automatically called internally by an EntityManager before its first query against a new service.
Public method FetchMetadata(DataService, CancellationToken)
Fetches the metadata for a specified 'service'. This method is automatically called internally by an EntityManager before its first query against a new service.
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetComplexType(Type)
Returns an ComplexType given its CLR type.
Public method GetComplexType(String, Boolean)
Returns an EntityType given its name.
Public method GetDataService
Returns the DataService for a specified service name or null.
Public method GetDefaultResourceName(Type)
Returns the default resource name for the specified CLR type.
Public method GetDefaultResourceName(EntityType)
Returns the default resource name for the specified EntityType type.
Public method GetEntityType(Type)
Returns an EntityType given its CLR type.
Public method GetEntityType(String, Boolean)
Returns an EntityType given its name.
Public method GetEntityTypeForResourceName
Returns the EntityType for a specified resourceName.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetMessages
Public method GetStructuralType
Returns an StructuralType (EntityType or ComplexType) given its CLR type.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method ImportMetadata(TextReader, Boolean)
Imports metadata via a TextReader.
Public method ImportMetadata(String, Boolean)
Imports metadata from a string.
Public method Static member IsStructuralType
Returns whether the specified CLR type is either an IEntity or a IComplexObject.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method SetResourceName
Sets a resourceName for a specified clrType.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference