SqlModelBuilder.OptimizeForQuery Method
Switches model into a mode that is optimized for querying.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Overrides Sub OptimizeForQuery
public override void OptimizeForQuery()
public:
virtual void OptimizeForQuery() override
abstract OptimizeForQuery : unit -> unit
override OptimizeForQuery : unit -> unit
public override function OptimizeForQuery()
.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.