It has been 2 months since i struggled to marry LINQ with SQLite using DBLinq
I've generated the .dbml and the .cs files and added the following references :
DbLinq.dll
DbLinq.Sqlite.dll
SQLite.NET.dll
System.Data.SQLite.dll
but what i get from code is strange,
Main da = new Main(DALite.Properties.Settings.Default.SHSLiteConnectionString);
da.Customer is of type "DbLinq.Data.Linq.Table<Customer>" but i want it to be of the type "Customer" from the .dbml file.
I can see the class in the .dbml file like
public partial class
Customer : System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
So, why its not giving me this object when am trying with the accessor da.Customer?
Please help, am really frustrated here,