DataSchemaModel.LoadExternals – metoda
Načtení modelu prvky z externích zdrojů, například trvalých modelu.
Obor názvů: Microsoft.Data.Schema.SchemaModel
Sestavení: Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)
Syntaxe
'Deklarace
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>
Parametry
- input
Typ: System.IO.TextReader
TextReader, ze kterého je model pro čtení.
- fileName
Typ: System.String
Název souboru, ze kterého modelu číst.
- logicalSourceName
Typ: System.String
Název logického zdrojového modelu.
- externalPartsSubstitution
Typ: System.Collections.Generic.IList<String>
Názvy oborů objektů, které budou před název objektu pro části 3 a 4 názvy, například [databáze].[Schema].[Tabulka].
- suppressErrorsForMissingDependencies
Typ: System.Boolean
Označuje, zda budou ignorovány chyby z chybějící závislosti, nebo by způsobit zastavení zpracování.
Vrácená hodnota
Typ: System.Collections.Generic.IList<IModelElement>
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.