i have 1 entity class
public class someclass { public string property1 {get; set;} public string property2 {get; set;} public string property3 {get; set;} }
and using sqlite connection class obj db creating table
db.createtableasync<someclass>().getawaiter().getresult();
what want achieve is, don't want sqlite create column in table property3
. there way achieve this?
i using sqliteasync library windows store apps.
you can use ignore
attribute:
public class someclass { public string property1 { get; set; } public string property2 { get; set; } [ignore] public string property3 { get; set; } }
Comments
Post a Comment