SqlModelBuilder.AddObjects Method
Adds objects to the schema manager.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Overrides Sub AddObjects ( _
cacheIdentifier As String, _
script As TextReader, _
metadata As IDictionary(Of String, String) _
)
'Usage
Dim instance As SqlModelBuilder
Dim cacheIdentifier As String
Dim script As TextReader
Dim metadata As IDictionary(Of String, String)
instance.AddObjects(cacheIdentifier, _
script, metadata)
public override void AddObjects(
string cacheIdentifier,
TextReader script,
IDictionary<string, string> metadata
)
public:
virtual void AddObjects(
String^ cacheIdentifier,
TextReader^ script,
IDictionary<String^, String^>^ metadata
) override
public override function AddObjects(
cacheIdentifier : String,
script : TextReader,
metadata : IDictionary<String, String>
)
abstract AddObjects :
cacheIdentifier:string *
script:TextReader *
metadata:IDictionary<string, string> -> unit
override AddObjects :
cacheIdentifier:string *
script:TextReader *
metadata:IDictionary<string, string> -> unit
Parameters
- cacheIdentifier
Type: System.String
The cache identifier, which uniquely identifies the source
- script
Type: System.IO.TextReader
The script
- metadata
Type: System.Collections.Generic.IDictionary<String, String>
A list of metadata that will be used in processing the script
.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.