MavhirNetivim
unread,Jan 10, 2011, 8:49:27 AM1/10/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DbLinq
Hello,
I worked with Dblinq on a few projects, with Oracle DB. For some
reason sometimes the classes created by DbMetal contain the tables of
Database schema and sometimes, they just contain the DB itself without
any tables.
When it does contain the table, I can run a query using the table
properties -
var row = from p in _db.TABLENAME where p.FIELDNAME== VALUE select p;
When it doesn't contain the table, I have to write a SQL query and
execute it -
IEnumerable<TYPE> results = _db.ExecuteQuery<TYPE>(query);
How can I make sure that the table would always be available?
Thank you