Hi.
I'm new in DbLinq and my 1st test has been a headache.
My enviroment:
1. Last source code from SVN (release 0.19 generates exception in
windows 7).
2. Postgresql 8.4.2
3. Windows 7.
4. Visual Studio 2008 Professional.
5. Parameters: -s=localhost -u=postgres -p=xxxxxx -d=DATABASE --
provider=PostgreSql --dbml=database.dbml --sprocs
Issues:
* Unable to resolve dbLinqSchemaLoaderType:
DbLinq.PostgreSql.PgsqlSchemaLoader, System.Data.Linq
"DbLinq.PostgreSql.dll" is in the same directory that SqlMetal. I'm
tried with "DbLinq.PostgreSql.dll" in GAC with same result.
I "forced" the type loading using (in SchemaLoaderFactory/Load):
if (dbLinqSchemaLoaderType == null)
{
Assembly lAssembly =
Assembly.Load("DbLinq.PostgreSql");
dbLinqSchemaLoaderType =
lAssembly.GetType("DbLinq.PostgreSql.PgsqlSchemaLoader");
}
The type is loaded but new problems arise:
* No se puede convertir un objeto de tipo
'DbLinq.PostgreSql.PgsqlSchemaLoader' al tipo
'DbLinq.Vendor.ISchemaLoader'. (I'm using Spanish OS). ----> something
like: Object type 'DbLinq.PostgreSql.PgsqlSchemaLoader' cann“t be cast
to type 'DbLinq.Vendor.ISchemaLoader'
Any suggestion?
--
You received this message because you are subscribed to the Google Groups
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/dblinq?hl=en.