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; }

    }

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies