Was curious about something, since a lot of the work involved in making a Linq provider to a database is in building methods of pulling all the db info out (schema/keys/relationships kinda stuff), if the recently-opensourced MyGeneration code generation framework might not be a help in this regard.. .it has “generic” metadata querying method for almost any know db out there. not that it would be used for code gen (though it could maybe?) but more for reusing the schema abstraction parts..
Hi boomhauser - thanks for pointing me to MyGeneration - have not seen it before. I will go read about it - anything that retrieves DB schema in DBML format can help us. But at the moment, most serious problems are on the the provider side, and I am less worried about the codegen/SqlMetal side.
And Mladen - yes it does work in VS2008 release version.
thanks for your job.
I have noticed that you didn’t implement blob and longblob in SQLMetal for mysql. I wish to use your provider on a mysql db using longblob.
Do you plan to implement those types?
There is some errors on Oracle DB linq ver 0.14 :
the first and important problem is about generated the primary keys.
If table had more than 1 primary key It doesn’t work correct.
and second problem is about DataField Types that the beter types is here:
public static string mapSqlTypeToCsType(string dbType, decimal? precision)
return “UnknownOracleType_20 //(Unprepared for Oracle type “+dbType+”) \n”;
I Implemented the code for making Camel notation and paskal notation from oracle fields. if you need I can send it for you. but I’m in iran and I can get the code from google If the code be in other site it’s better for me.
You did not answer to my questions, you neither comment some of the issues I have found or fix them. You did not tell how to become a member of the project. I am considering branching your code (dblinq).