Last active
July 14, 2018 14:06
-
-
Save ssougnez/b62278c32cfd30199d2a6398553c9faf 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("Directors")] | |
[PrimaryKey("Id", autoIncrement = true)] | |
[ExplicitColumns] | |
public class Director | |
{ | |
[Column("Id")] | |
[PrimaryKeyColumn(AutoIncrement = true)] | |
public int Id { get; set; } | |
[Column("FirstName")] | |
public string FirstName { get; set; } | |
[Column("LastName")] | |
public string LastName { get; set; } | |
[Column("Biography")] | |
[SpecialDbType(SpecialDbTypes.NTEXT)] | |
[NullSetting(NullSetting = NullSettings.Null)] | |
public string Biography { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment