Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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; }
}
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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; }
}
is working on a reply...