SqlServerMigrationSqlGenerator.Generate Method (Object)
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
Generates SQL to specify a constant default value being set on a column. This method just generates the actual value, not the SQL to set the default value.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
'Declaration Protected Overridable Function Generate ( _ defaultValue As Object _ ) As String 'Usage Dim defaultValue As Object Dim returnValue As String returnValue = Me.Generate(defaultValue)
Parameters
- defaultValue
- Type: System.Object
The value to be set.
Show: