SqlModelBuilder.SetOptions Method
Sets various options into the model at either the Instance or Catalog scope.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Overrides Sub SetOptions ( _
options As ModelOptions, _
scope As ModelOptionsScope _
)
'Usage
Dim instance As SqlModelBuilder
Dim options As ModelOptions
Dim scope As ModelOptionsScope
instance.SetOptions(options, scope)
public override void SetOptions(
ModelOptions options,
ModelOptionsScope scope
)
public:
virtual void SetOptions(
ModelOptions^ options,
ModelOptionsScope scope
) override
public override function SetOptions(
options : ModelOptions,
scope : ModelOptionsScope
)
abstract SetOptions :
options:ModelOptions *
scope:ModelOptionsScope -> unit
override SetOptions :
options:ModelOptions *
scope:ModelOptionsScope -> unit
Parameters
- options
Type: Microsoft.Data.Schema.SchemaModel.ModelOptions
The model options that should be transferred to the model
- scope
Type: Microsoft.Data.Schema.SchemaModel.ModelOptionsScope
The scope for these options
.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.