Share via


DataSchemaModelTranslator Class

Provides a base for a translator class that translates a data schema model to a schema model for a specific database, such as the SQL Server schema model.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.SchemaModel.Translation.ModelTranslator
    Microsoft.Data.Schema.SchemaModel.Translation.DataSchemaModelTranslator

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

Syntax

'Declaration
Public MustInherit Class DataSchemaModelTranslator _
    Inherits ModelTranslator
public abstract class DataSchemaModelTranslator : ModelTranslator
public ref class DataSchemaModelTranslator abstract : public ModelTranslator
[<AbstractClass>]
type DataSchemaModelTranslator =  
    class
        inherit ModelTranslator
    end
public abstract class DataSchemaModelTranslator extends ModelTranslator

The DataSchemaModelTranslator type exposes the following members.

Constructors

  Name Description
Protected method DataSchemaModelTranslator

Top

Properties

  Name Description
Public property CompatibilityLevel Gets the level of translation for this translator. (Inherited from ModelTranslator.)
Public property DatabaseSchemaProvider Gets the associated database schema provider. (Inherited from ModelTranslator.)
Public property DataLossPossible Gets a value that indicates whether the translation may cause data loss. (Inherited from ModelTranslator.)
Protected property Definition Gets the associated translator definition. (Inherited from ModelTranslator.)
Public property ExtensionHandle Gets the handle for the inherent data schema extension. (Inherited from ModelTranslator.)
Public property TranslatesTo

Top

Methods

  Name Description
Public method CanTranslateTo(Type) (Overrides ModelTranslator.CanTranslateTo(Type).)
Public method CanTranslateTo(DatabaseSchemaProvider) (Inherited from ModelTranslator.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
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 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method InstantiateCopiedModel (Overrides ModelTranslator.InstantiateCopiedModel(ModelStore).)
Protected method InstantiateTranslatedModel (Overrides ModelTranslator.InstantiateTranslatedModel(ModelStore).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method SetConstructorParametersForCopiedModel
Protected method SetConstructorParametersForTranslatedModel
Public method SetExtensionHandle Sets the handle for this extension object. (Inherited from ModelTranslator.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Translate Translates the provided schema model to the target type that is defined by the constructor. (Overrides ModelTranslator.Translate(ModelStore, Boolean).)

Top

Thread Safety

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

See Also

Reference

Microsoft.Data.Schema.SchemaModel.Translation Namespace

ModelTranslator