src/Shared/EntityFramework/Migrations/Design/VisualBasicMigrationCodeGenerator.cs
/// <summary>
/// Generates code to specify the default value for a <see cref="DateTime" /> column.
/// </summary>
/// <param name="defaultValue"> The value to be used as the default. </param>
/// <returns> Code representing the default value. </returns>
Generates code to specify the default value for a  column.
Generates code to specify the default value for a column .
protected virtual string Generate(DateTime defaultValue)
        {
            return "New DateTime(" + defaultValue.Ticks + ", DateTimeKind."
                   + Enum.GetName(typeof(DateTimeKind), defaultValue.Kind) + ")";
        }
protected virtual string Generate ( DateTime defaultValue ) { return " " + defaultValue . Ticks + " " + Enum . GetName ( typeof ( DateTimeKind ) , defaultValue . Kind ) + " " ; }
Generates code to specify the default value for a  column.
Generates code to specify the default value for a column .
Code representing the default value.
Code representing the default value .
defaultValue
DateTime
The value to be used as the default.
The value to be used as the default .