Skip to main content
A newer version of this page is available. .

XPDictionary Members

Provides the abstract (MustInherit in Visual Basic) base class for metadata providers.

Properties

Name Description
Classes When implemented by a class, gets a collection of the XPClassInfo objects that are supplied by the current metadata provider.
CustomAggregates Gets a collection of custom aggregate function supplied by the current metadata provider.
CustomFunctionOperators Gets a collection of custom function operators supplied by the current metadata provider.
NullableBehavior Specifies if nullable columns should be created when updating the database schema.

Methods

Name Description
AddClassInfo(XPClassInfo) Adds persistent class metadata information to the current metadata provider.
CanGetClassInfoByType(Type) When implemented, indicates whether the dictionary can return metadata information for the specified type.
CollectClassInfos(Boolean, IEnumerable<Assembly>)
CollectClassInfos(Boolean, Assembly[]) Obtains the metadata information for all the persistent objects that are defined in the specified assemblies.
CollectClassInfos(IEnumerable<Assembly>)
CollectClassInfos(IEnumerable<Type>)
CollectClassInfos(Assembly[]) Obtains the metadata information for all the persistent objects that are defined in the specified assemblies.
CollectClassInfos(Type[]) Obtains the metadata information for all the persistent objects of the specified class types.
CreateClass(XPClassInfo, String, Attribute[]) Creates a class with the specified name and attributes.
CreateClass(String, Attribute[]) Creates a class with the specified name and attributes.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetClassInfo(Object) Returns the persistent class metadata information for the specified object.
GetClassInfo(String, String) Returns the persistent class metadata information for the specified assembly name and class name.
GetClassInfo(Type) Returns the persistent class metadata information for the specified class type.
GetConverter(Type) Gets the value-and-type convertor for the specified member type.
GetDataStoreSchema(XPClassInfo[]) Gets the complete schema of a data store that corresponds to the specified persistent class metadata information.
GetDataStoreSchema(IEnumerable<XPClassInfo>)
GetDataStoreSchema(IEnumerable<Assembly>)
GetDataStoreSchema(IEnumerable<Type>)
GetDataStoreSchema(Assembly[]) Gets the complete schema of a data store that corresponds to the persistent objects which are defined within the specified assemblies.
GetDataStoreSchema(Type[]) Gets the complete schema of a data store that corresponds to the persistent objects of the specified class types.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetId(Object) Gets the value of the specified object’s key property.
GetType() Gets the Type of the current instance. Inherited from Object.
HasDescendants(XPClassInfo)
LoadXmlMetadata(TextReader) Loads metadata with the specified TextReader.
LoadXmlMetadata(String) Loads metadata stored in a file in XML format.
LoadXmlMetadata(XmlReader) Loads metadata with the specified XmlTextReader.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
QueryClassInfo(Object) When implemented by a class, returns the persistent class metadata information for the specified persistent object.
QueryClassInfo(String, String) When implemented by a class, returns the persistent class metadata information for the specified assembly name and class name.
QueryClassInfo(Type) When implemented by a class, returns the persistent class metadata information for the specified class type.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterValueConverter(ValueConverter, Type) Registers a value-and-type convertor for the specified member type.
ToString() Returns a string which represents the current object.
Validate(XPClassInfo[]) This method is intended for internal use.

Events

Name Description
ClassInfoChanged Fires when the metadata information of the objects that are supplied by the current metadata provider has been changed.
See Also