Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rafael 4 posts 24 karma points
    Sep 26, 2014 @ 17:36
    Rafael
    0

    How I can to force a table column type?

    I desire force a datetime mysql column type, but petapoco is creating a timestamp column type.

    [TableName("test"), PrimaryKey("id")]

    public class Test

    {

            [Column("id")]

            public long id { get; set; }

     

            [Column("datetime")]

            public DateTime datetime { get; set; }

    }

     

Please Sign in or register to post replies

Write your reply to:

Draft