The StorageModel type exposes the following members.

Methods

  NameDescription
Public methodAddAssociation(String, StoreEntitySet, StoreEntitySet, MultiplicityTypeEnum, MultiplicityTypeEnum, List<(Of <<'(Tuple<(Of <(<'T1, T2>)>)>>)>>))
Public methodAddAssociation(String, StoreEntitySet, StoreEntitySet, StoreEntityType, StoreEntityType, String, String, MultiplicityTypeEnum, MultiplicityTypeEnum, List<(Of <<'(Tuple<(Of <(<'T1, T2>)>)>>)>>))
Public methodAddEntitySet(String)
Adds a new entity set to the storage model.
Public methodAddEntitySet(ModelEntitySet, ModelEntityType)
Adds a store entityset to the model, based on an existing conceptual model entity set and entity type.
Public methodAddEntitySet(ModelEntitySet, ModelEntityType, String, String)
Adds a store entityset to the model, based on an existing conceptual model entity set and entity type.
Public methodAddEntityType(String)
Adds a new entity type to the storage model.
Public methodAddEntityType(ModelEntityType)
Adds a new entity type to the storage model, based on an existing conceptual model entity type.
Public methodAddFunction
Adds a store function.
Public methodClear
Removes all model objects from the storage model.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetOrCreateEntitySet(String)
Retrieves an existing entityset by name, or creates a new one if no matching entity set exist in the storage model.
Public methodGetOrCreateEntitySet(ModelEntitySet, ModelEntityType)
Retrieves an existing entityset based on model entityset/type, or creates a new one if a match can not be found.
Public methodGetOrCreateEntitySet(ModelEntitySet, ModelEntityType, String, String)
Retrieves an existing entityset based on a conceptual model entityset/type, or creates a new one if a match can not be found.
Public methodGetOrCreateEntityType(String)
Retrieves an existing entity type by name, or creates a new one if no matching entity type exist in the storage model.
Public methodGetOrCreateEntityType(ModelEntityType)
Retrieves an existing entitytype based on a conceptual model entittype, or creates a new one if a match can not be found.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAlias
Alias name for the storage model.
Public propertyAssociationSets
Enumeration of all association sets (foreign key constraints) in the current storage model.
Public propertyContainerName
Entity container name
Public propertyEntitySets
Enumeration of all entity sets in this store model.
Public propertyEntityTypes
Enumeration of all entity types in the current storage model.
Public propertyFunctions
Enumeration of all store functions in the storage model.
Public propertyNamespace
Namespace name for the storage model.
Public propertyProvider
Provider name
Public propertyProviderManifestToken
Provider manifest token
Public propertyQueries
Commonly used queries against the storage model.

See Also