Sql100SchemaModel Class

Visual Studio 2010

The schema manager for a SQL Server 2008 database.

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

[SerializableAttribute]
public sealed class Sql100SchemaModel : SqlSchemaModel

The Sql100SchemaModel type exposes the following members.

  NameDescription
Public propertyAnnotationsIncludedInSerializationGets a value that indicates whether annotations are included when the model is serialized. (Inherited from SqlSchemaModel.)
Public propertyCapabilityGets a value that indicates what capabilities this model has. (Inherited from SqlSchemaModel.)
Public propertyCollation (Inherited from ModelStore.)
Public propertyComparerGets the collation comparer object. (Inherited from ModelStore.)
Protected propertyControllerGets the model controller. (Inherited from DataSchemaModel.)
Public propertyDatabaseSchemaProviderGets the database schema provider for this model. (Overrides DataSchemaModel.DatabaseSchemaProvider.)
Public propertyElementProcessingOperationsCountGets the number of operations that remain before the model is resolved. (Inherited from SqlSchemaModel.)
Public propertyErrorManagerGets the error manager to report errors. (Inherited from DataSchemaModel.)
Public propertyIsDisposing (Inherited from ModelStore.)
Public propertyIsOptimizedForInsert (Inherited from ModelStore.)
Public propertyIsOptimizedForQuery (Inherited from ModelStore.)
Public propertySchema (Inherited from ModelStore.)
Public propertyScriptCacheGets the script cache to cache scripts. (Inherited from DataSchemaModel.)
Public propertySql100DatabaseSchemaProviderGets the SQL Server 2008-specific database schema provider for this model.
Public propertySqlDatabaseSchemaProviderGets the SQL Server-specific database schema provider for this model. (Overrides SqlSchemaModel.SqlDatabaseSchemaProvider.)
Protected propertyValidationEnabledGets a value that indicates whether validation is enabled for this schema model. (Inherited from SqlSchemaModel.)
Public propertyWriteCountReturns the value of the current write count. (Inherited from ModelStore.)
Top

  NameDescription
Public methodAddAnnotationAdds an annotation to the model. (Inherited from ModelStore.)
Public methodAddCustomDataAdds custom data to the model. (Inherited from DataSchemaModel.)
Protected methodAddScriptCacheForFile (Inherited from SqlSchemaModel.)
Public methodBeginBatchUpdateCalled at the beginning of a batch update operation. (Inherited from SqlSchemaModel.)
Protected methodCleanupExternalPropertyWhen implemented in a derived class, releases resources that are used by an external property when the element is deleted. (Inherited from ModelStore.)
Public methodCreateAnnotation(Type) (Inherited from ModelStore.)
Public methodCreateAnnotation(ModelAnnotationClass)Creates an annotation by using the given annotation metadata. (Inherited from ModelStore.)
Public methodCreateAnnotation<TAnnotation>() (Inherited from ModelStore.)
Public methodCreateElement(Type) (Inherited from ModelStore.)
Public methodCreateElement(ModelElementClass)Creates an element by using the given element metadata object. (Inherited from ModelStore.)
Public methodCreateElement<TElement>() (Inherited from ModelStore.)
Public methodCreateElementHandle (Inherited from ModelStore.)
Protected methodCreateExternalElement(Type)Creates an external element. (Inherited from ModelStore.)
Protected methodCreateExternalElement(ModelElementClass)Creates an external element by using the provided element metadata object. (Inherited from ModelStore.)
Protected methodCreateExternalElement<TElement>()Creates an external element of the specified type. (Inherited from ModelStore.)
Protected methodCreateExternalNamedElement(Type, ModelIdentifier)Creates a named external element by using the provided type and identifier. (Inherited from ModelStore.)
Protected methodCreateExternalNamedElement(ModelElementClass, ModelIdentifier)Creates a named external element by using the provided element metadata object and identifier. (Inherited from ModelStore.)
Protected methodCreateExternalNamedElement<TElement>(ModelIdentifier)Creates a named external element of the specified type by using the provided element metadata object and identifier. (Inherited from ModelStore.)
Public methodCreateIdentifier(ICollection<String>)Creates a unique model identifier by using the provided collection of part names. (Inherited from ModelStore.)
Public methodCreateIdentifier(String[])Creates a unique model identifier by using the provided array of part names. (Inherited from ModelStore.)
Public methodCreateIdentifier(Boolean, ICollection<String>)Creates a unique model identifier by using the provided collection of name parts. (Inherited from ModelStore.)
Public methodCreateIdentifier(Boolean, String[])Creates a unique model identifier by using the provided case-sensitive indication and array of part names. (Inherited from ModelStore.)
Public methodCreateIdentifier(IList<String>, ICollection<String>)Creates a unique model identifier by using the provided list of external part names, indication of case sensitivity, and collection of part names. (Inherited from ModelStore.)
Public methodCreateIdentifier(IList<String>, Boolean, ICollection<String>)Creates a unique model identifier by using the provided list of external parts, indication of case sensitivity, and collection of part names. (Inherited from ModelStore.)
Public methodCreateIdentifier(IList<String>, Boolean, String[])Creates a unique model identifier by using the provided list of external part names, indication of case sensitivity, and array of part names. (Inherited from ModelStore.)
Public methodCreateIdentifierHandleCreates a handle for the provided identifier. (Inherited from ModelStore.)
Public methodCreateNamedAnnotation(Type, ModelIdentifier)Creates a named ModelAnnotation object by using the provided model identifier. (Inherited from ModelStore.)
Public methodCreateNamedAnnotation(ModelAnnotationClass, ModelIdentifier)Creates a named ModelAnnotation object by using the provided annotation metadata object and identifier. (Inherited from ModelStore.)
Public methodCreateNamedAnnotation<TAnnotation>(ModelIdentifier)Creates a named ModelAnnotation object by using the provided model identifier. (Inherited from ModelStore.)
Public methodCreateNamedElement(Type, ModelIdentifier) (Inherited from ModelStore.)
Public methodCreateNamedElement(ModelElementClass, ModelIdentifier) (Inherited from ModelStore.)
Public methodCreateNamedElement<TElement>(ModelIdentifier) (Inherited from ModelStore.)
Public methodDecodeIdentifier(String)Returns an identifier that corresponds to the decoded value of the provided string. (Inherited from ModelStore.)
Protected methodDeserializeExternalPropertyDeserializes any external properties that are supported by SqlSchemaModel. (Inherited from SqlSchemaModel.)
Public methodDispose()Disposes the model. (Inherited from ModelStore.)
Protected methodDispose(Boolean)Releases resources. (Inherited from SqlSchemaModel.)
Public methodEndBatchUpdateCalled at the end of a batch update operation. (Inherited from SqlSchemaModel.)
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalize (Inherited from ModelStore.)
Protected methodFixupAfterDeserializationPerforms additional actions to guarantee model consistency after deserialization from a .dbmdl file. (Inherited from SqlSchemaModel.)
Protected methodFixupAfterXmlDeserializationPerforms additional actions to guarantee model consistency after deserialization from an XML file. (Inherited from SqlSchemaModel.)
Public methodFreeElementHandleFrees the provided element handle. (Inherited from ModelStore.)
Public methodFreeIdentifierHandleFrees the provided element handle. (Inherited from ModelStore.)
Public methodGetAllAnnotations()Returns a list of all annotations. (Inherited from ModelStore.)
Public methodGetAllAnnotations(Type) (Inherited from ModelStore.)
Public methodGetAllAnnotations(ModelIdentifier)Returns a list of all annotations that are named with the provided identifier. (Inherited from ModelStore.)
Public methodGetAllAnnotations(ModelIdentifier, Type) (Inherited from ModelStore.)
Public methodGetAnnotations()Returns all the annotations on the model. (Inherited from ModelStore.)
Public methodGetAnnotations(Type)Returns a list of the annotations on the model that implements the given type. (Inherited from ModelStore.)
Public methodGetAnnotations(ModelIdentifier)Returns a list of the annotations on the model that matches the given identifiers. (Inherited from ModelStore.)
Public methodGetAnnotations(ModelIdentifier, Type)Returns all annotations that have the given identifier name, and that implement the given type. (Inherited from ModelStore.)
Public methodGetCustomData()Gets a list of custom data. (Inherited from DataSchemaModel.)
Public methodGetCustomData(String)Gets a list of custom data by using the provided category. (Inherited from DataSchemaModel.)
Public methodGetCustomData(String, String)Gets a list of custom data by using the provided category and type name. (Inherited from DataSchemaModel.)
Public methodGetElementHandleTargetReturns a model element that is identified by the provided handle. (Inherited from ModelStore.)
Public methodGetElements(ModelElementResolutionStatus)Returns a list of the elements in the store that has the given resolution status. (Inherited from ModelStore.)
Public methodGetElements(ModelElementValidationStatus)Returns a list of the elements in the store that has the given validation status. (Inherited from ModelStore.)
Public methodGetElements(Type, ModelElementQueryFilter) (Inherited from ModelStore.)
Public methodGetElements(ModelElementClass, ModelElementQueryFilter)Returns elements that share the given metadata object as selected by the given filter. (Inherited from ModelStore.)
Public methodGetElements(ModelElementResolutionStatus, Int32)Returns a list of the elements that aredetermined by the count that has the given resolution status. (Inherited from ModelStore.)
Public methodGetElements(ModelElementValidationStatus, Int32)Returns a list of the elements that are determined by the count that has the given validation status. (Inherited from ModelStore.)
Public methodGetElements(ModelIdentifier, ModelElementClass, ModelElementQueryFilter) (Inherited from ModelStore.)
Public methodGetElements(ModelIdentifier, ModelIdentifierGroup, ModelElementQueryFilter) (Inherited from ModelStore.)
Public methodGetElements(ModelIdentifier, Type, ModelElementQueryFilter) (Inherited from ModelStore.)
Public methodGetElements<TElement>(ModelElementQueryFilter) (Inherited from ModelStore.)
Public methodGetElements<TElement>(ModelIdentifier, ModelElementQueryFilter) (Inherited from ModelStore.)
Public methodGetElementsCount(ModelElementResolutionStatus)Returns the number of elements in the store that match the given status. (Inherited from ModelStore.)
Public methodGetElementsCount(ModelElementValidationStatus)Returns the number of elements in the store that match the given status. (Inherited from ModelStore.)
Public methodGetElementsFrom(String, ModelElementClass, ModelElementQueryFilter) (Inherited from ModelStore.)
Public methodGetElementsFrom(String, Type, ModelElementQueryFilter) (Inherited from ModelStore.)
Public methodGetElementsFrom<TElement>(String, ModelElementQueryFilter) (Inherited from ModelStore.)
Public methodGetElementsFromExternalSourceGets the elements from an external source. (Inherited from DataSchemaModel.)
Protected methodGetElementSourcesReturns the source information for a particular element. (Inherited from SqlSchemaModel.)
Protected methodGetExternalProperty<TProperty>Gets an external property of a particular class for the specified model element. (Inherited from SqlSchemaModel.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetIdentifier(ICollection<String>) (Inherited from ModelStore.)
Public methodGetIdentifier(String[])Gets the identifier from the model by scope ID and a string. (Inherited from ModelStore.)
Public methodGetIdentifier(IList<String>, ICollection<String>) (Inherited from ModelStore.)
Public methodGetIdentifierHandleTarget (Inherited from ModelStore.)
Public methodGetObjectDataPopulates a [System.Runtime.Serialization.SerializationInfo] object with the data needed to serialize the current Sql100SchemaModel object. (Overrides SqlSchemaModel.GetObjectData(SerializationInfo, StreamingContext).)
Protected methodGetRelationshipEntrySourcesReturns the source information for a particular relationship entry. (Inherited from SqlSchemaModel.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitializeReferenceConstructorCalled to initialize the reference constructor. (Inherited from SqlSchemaModel.)
Public methodIsOwnedChildObjectTypeReturns a value that indicates whether a type is a schema-bound child object. (Inherited from SqlSchemaModel.)
Public methodLoadExternalsLoads model elements from an external sources, such as a persisted model. (Inherited from DataSchemaModel.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnCustomDataAddedOverride this method to handle addition of SqlModelCapability data. (Inherited from SqlSchemaModel.)
Protected methodOnCustomDataRemovedOverride this method to handle removal of extra names (from elements marked as AliasedToDbo or GloballyScoped) if a reference is removed. (Inherited from SqlSchemaModel.)
Protected methodOnModelElementChangedCalled when a model element changes. (Inherited from DataSchemaModel.)
Public methodOptimizeForInitialPopulation (Inherited from ModelStore.)
Public methodOptimizeForQuery (Inherited from ModelStore.)
Public methodRegisterForControllerRegisters for a model controller. (Inherited from DataSchemaModel.)
Public methodRemoveAnnotationRemoves an annotation from the model. (Inherited from ModelStore.)
Public methodRemoveCustomDataRemoves custom data. (Inherited from DataSchemaModel.)
Protected methodRemoveScriptCacheForFileRemoves the script cache that is associated with the specified file. (Inherited from SqlSchemaModel.)
Public methodResolve()Resolves all of the elements in the model. (Inherited from SqlSchemaModel.)
Public methodResolve(Int32)Resolves the specified number of elements. (Inherited from SqlSchemaModel.)
Public methodSerialize(TextWriter) (Inherited from DataSchemaModel.)
Public methodSerialize(TextWriter, IEnumerable<Type>) (Inherited from DataSchemaModel.)
Public methodSerialize(TextWriter, IEnumerable<Type>, Boolean)Writes the data schema model to the specified output. (Inherited from DataSchemaModel.)
Protected methodSerializeExternalPropertySerializes any external properties that are supported by SqlSchemaModel. (Inherited from SqlSchemaModel.)
Protected methodSetExternalProperty<TProperty>(IModelElement, ModelPropertyClass, TProperty) (Inherited from ModelStore.)
Protected methodSetExternalProperty<TProperty>(IModelElement, ModelPropertyClass, TProperty) (Inherited from SqlSchemaModel.)
Public methodTestWriteCountTests the write count with the given value. (Inherited from ModelStore.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUnloadExternalsUnloads external elements from the specified file. (Inherited from DataSchemaModel.)
Protected methodUpdateSourceNamePrefixes (Inherited from ModelStore.)
Protected methodValidateWriteAccessValidates write access. (Inherited from DataSchemaModel.)
Protected methodValidReferenceTranslatorReturns a value that indicates whether a reference translator can be used translate from another database schema provider to the current one. (Inherited from DataSchemaModel.)
Top

  NameDescription
Public eventModelChanged (Inherited from ModelStore.)
Public eventModelOptimizationChanged (Inherited from ModelStore.)
Top

  NameDescription
Public fieldStatic memberClrTypesDBSchemaCategoryA constant that is used by the schema model.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: