DataSchemaModel.ValidReferenceTranslator Method
Returns a value that indicates whether a reference translator can be used translate from another database schema provider to the current one.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Overridable Function ValidReferenceTranslator ( _
fromDataSchemaProvider As DatabaseSchemaProvider, _
referenceTranslator As ModelTranslator _
) As Boolean
protected virtual bool ValidReferenceTranslator(
DatabaseSchemaProvider fromDataSchemaProvider,
ModelTranslator referenceTranslator
)
protected:
virtual bool ValidReferenceTranslator(
DatabaseSchemaProvider^ fromDataSchemaProvider,
ModelTranslator^ referenceTranslator
)
abstract ValidReferenceTranslator :
fromDataSchemaProvider:DatabaseSchemaProvider *
referenceTranslator:ModelTranslator -> bool
override ValidReferenceTranslator :
fromDataSchemaProvider:DatabaseSchemaProvider *
referenceTranslator:ModelTranslator -> bool
protected function ValidReferenceTranslator(
fromDataSchemaProvider : DatabaseSchemaProvider,
referenceTranslator : ModelTranslator
) : boolean
Parameters
- fromDataSchemaProvider
Type: Microsoft.Data.Schema.DatabaseSchemaProvider
The DatabaseSchemaProvider object.
- referenceTranslator
Type: Microsoft.Data.Schema.SchemaModel.Translation.ModelTranslator
The ModelTranslator.
Return Value
Type: System.Boolean
true if a reference translator can be used to translate from another database schema provider to the current one; otherwise, false.
Remarks
This method can be overridden by derived classes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.