I am using subsonic 3. in my case:
Entity Class :
public class Org: IActiveRecord
{
public string fieldA
{get;set;}
public string fieldB
{get;set;}
}
and in my linq query:
var linqNodes = from o in DB.Orgs select new TreeNode{ id=o.fieldA,text=o.fieldB};
var nodes = linqNodes.ToList();
the TreeNode class is my custom class for tree node. the nodes return record's field value is null. I'm sure all records have the data in database.