TSqlModel Properties
Updated: April 20, 2017
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
| Name | Description | |
|---|---|---|
![]() | CollationComparer | Gets the comparer that can compare strings and ObjectIdentifiers using the collation of this TSqlModel. This can be very useful when comparing objects in the model since comparisons will be consistent with the expected comparison results in SQL Server. |
![]() | DisplayServices | Gets the DisplayServices that support producing display properties for objects in the model. |
![]() | EngineVersion | The specific engine version targeted by the model. For On Premises platforms this will be consistent with the SqlServerVersion - for instance Sql90 will have an engine version of 9. For Microsoft Azure SQL Database the minimum valid version is 11, and the engine version will affect what features are supported in the model. |
![]() | IsScriptBacked | Gets a value that indicates whether this model is backed by scripts. In this case objects in the UserDefined scope will have source position information including a source name and information. This is important for scenarios such as use of the CodeAnalysisService. Any empty TSqlModel created will be script backed by default. Models loaded from a Dacpac will only be scipt backed if the LoadAsScriptBackedModel option is enabled. Note that creating a script backed model will take longer than using a standard model loaded from a Dacpac. |
![]() | Version | Gets the specific SQL Server release targeted by the model. |
