I already posted this to the forum because i thought it was an
misconfiguration:
http://groups.google.com/group/dblinq/browse_thread/thread/a2113cfec7d39075
What steps will reproduce the problem?
1. Create DBML using VS.net using OracleDataContext
2. Create Code File and include into solution
3. Query object
IMDataContext context = new IMDataContext(_connection_string, new
OracleVendor());
var is_available = from w in context.Products where w.Name == "MyProduct"
select w;
if(w.Count() == 0)
throw ProductNotFoundException();
At this query the tablename is empty because at AttributeMetaTable.cs#43
the tablename is only checked if it is null, and not if it is emtpy or null
What is the expected output? What do you see instead?
hoped to get all products which match the string 'MyProduct'
What version of the product are you using? On what operating system?
Subversion-Trunk, Windows XP
Please provide any additional information below.
replace the statement on string.IsNullOrEmpty() and it works fine.
Original issue reported on code.google.com by mabuni...@gmail.com on 14 Apr 2010 at 12:57
Original issue reported on code.google.com by
mabuni...@gmail.com
on 14 Apr 2010 at 12:57