C# Entity-Framework Code-First Migration error with SmallDateTime Data-type : I am using the following C# code in my Entity class:

        [Column( TypeName = "SmallDateTime")]  
        public string LoginTime { get; set; }

But I get an error during code-first migration:

`Schema specified is not valid. Errors: 
(161,12) : error 2019: Member Mapping specified is not valid. The type 'Edm.String[Nullable=True,DefaultValue=,MaxLength=Max,Unicode=True,FixedLength=False]' of member 'LoginTime' in type 'standardvba.DAL.HitMaster' is not compatible with 'SqlServer.smalldatetime[Nullable=True,DefaultValue=,Precision=0]' of member 'LoginTime' in type 'CodeFirstDatabaseSchema.HitMaster'.`

I am using **SQL Server 2012** as my database