Share via


DataSchemaModel.LoadExternals Method

Loads model elements from an external sources, such as a persisted model.

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

Syntax

'Declaration
Public Function LoadExternals ( _
    input As TextReader, _
    fileName As String, _
    logicalSourceName As String, _
    externalPartsSubstitution As IList(Of String), _
    suppressErrorsForMissingDependencies As Boolean _
) As IList(Of IModelElement)
public IList<IModelElement> LoadExternals(
    TextReader input,
    string fileName,
    string logicalSourceName,
    IList<string> externalPartsSubstitution,
    bool suppressErrorsForMissingDependencies
)
public:
IList<IModelElement^>^ LoadExternals(
    TextReader^ input, 
    String^ fileName, 
    String^ logicalSourceName, 
    IList<String^>^ externalPartsSubstitution, 
    bool suppressErrorsForMissingDependencies
)
member LoadExternals : 
        input:TextReader * 
        fileName:string * 
        logicalSourceName:string * 
        externalPartsSubstitution:IList<string> * 
        suppressErrorsForMissingDependencies:bool -> IList<IModelElement> 
public function LoadExternals(
    input : TextReader, 
    fileName : String, 
    logicalSourceName : String, 
    externalPartsSubstitution : IList<String>, 
    suppressErrorsForMissingDependencies : boolean
) : IList<IModelElement>

Parameters

  • fileName
    Type: System.String
    The name of the file from which the model is read.
  • logicalSourceName
    Type: System.String
    The logical source name of the model.
  • externalPartsSubstitution
    Type: System.Collections.Generic.IList<String>
    The object-scoping names that will be prepended to the object name for 3-part and 4-part names, such as [Database].[Schema].[Table].
  • suppressErrorsForMissingDependencies
    Type: System.Boolean
    Indicates whether errors from missing dependencies should be ignored or should cause processing to stop.

Return Value

Type: System.Collections.Generic.IList<IModelElement>

.NET Framework Security

See Also

Reference

DataSchemaModel Class

Microsoft.Data.Schema.SchemaModel Namespace