Hey,
I am using praeclarum sqlite-net library, when I am using :
var item = sQLiteConnection.Table<MyClass>().Where(e => (e.Id == CurrentId) && (e.name == Currentname));
It gives exception: Member access failed to compile expression
CurrentId and Currentname both have a value.
The table does exist with its columns.
MyClass is:
`public class MyClass
{
[Ignore]
public List<ClassB> Bs{ get; set; }
public string BsAsJson { get; set; }
public string Datestamp { get; set; }
[PrimaryKey]
public string ClassId { get; set; }
public string SomeId { get; set; }
public string name { get; set; }
public MyClass ()
{
}
public MyClass (string datestamp, string id)
{
Bs= new List<ClassB>();
Datestamp = datestamp;
ClassId = id;
name= "Bagera";
SomeId= "SomeValue";
}
}`