Share via


DateTime2Generator Class

Represents the date and time generator.

Namespace:  Microsoft.Data.Schema.Generators.Sql
Assembly:  Microsoft.Data.Schema.Generators.Sql (in Microsoft.Data.Schema.Generators.Sql.dll)

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
<DatabaseSchemaProviderCompatibilityAttribute(GetType(Sql100DatabaseSchemaProvider))> _
Public NotInheritable Class DateTime2Generator _
    Inherits Generator
'Usage
Dim instance As DateTime2Generator
[CLSCompliantAttribute(true)]
[DatabaseSchemaProviderCompatibilityAttribute(typeof(Sql100DatabaseSchemaProvider))]
public sealed class DateTime2Generator : Generator
[CLSCompliantAttribute(true)]
[DatabaseSchemaProviderCompatibilityAttribute(typeof(Sql100DatabaseSchemaProvider))]
public ref class DateTime2Generator sealed : public Generator
public final class DateTime2Generator extends Generator
[<SealedAttribute>]
[<CLSCompliantAttribute(true)>]
[<DatabaseSchemaProviderCompatibilityAttribute(typeof(Sql100DatabaseSchemaProvider))>]
type DateTime2Generator =  
    class
        inherit Generator
    end

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.DataGenerator.Generator
    Microsoft.Data.Schema.Generators.Sql.DateTime2Generator

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DateTime2Generator Members

Microsoft.Data.Schema.Generators.Sql Namespace