Last active
July 14, 2018 14:14
-
-
Save ssougnez/37161835201bba7a627e71ff4aa92a66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TableName("Actors")] | |
[PrimaryKey("Id", autoIncrement = true)] | |
[ExplicitColumns] | |
public class Actor | |
{ | |
[Column("Id")] | |
[PrimaryKeyColumn(AutoIncrement = true)] | |
public int Id { get; set; } | |
[Column("FirstName")] | |
public string FirstName { get; set; } | |
[Column("LastName")] | |
public string LastName { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment