So I am trying to use RepositoryAccess.. Straight select works. But, my join doesn't work.. Am I missing something?
RepositoryRegistration rr = new RepositoryRegistration("LFVM", "Laserfiche");
Session sess = new Session();
sess.LogIn(rr);
LfConnection conn = new LfConnection(sess);
conn.Open();
LfCommand lfqlCommand = conn.CreateCommand();
//so basic selects work, it's just when joins are included
//lfql doesn't like the result set...
// srch = "SELECT entry_id, entry_name FROM lf.Entry";
srch = @"SELECT
e.entry_id, e.entry_name
FROM lf.Entry e
INNER JOIN lf.Prop_value p on e.entry_id = p.entry_id
WHERE
p.prop_name = 'Client Name' AND
p.string_value = 'Drama, Johnny'";
lfqlCommand.CommandText = srch;
LfDataReader reader = lfqlCommand.ExecuteReader();
DataTable dt = new DataTable();
dt.Load(reader);