Thanks Hammet,
the problem was that i didnt pass all the models together to Initialize.
I only passed models from one database.

I have a little suggestion for next releases of
ActiveRecordStarter.CreateSchema; now, when you do CreateSchema, all
tables are dropped, but you may want to create or update only.
A UpdateSchema or CreateSchema with boolean parameters (Nhibernate's
SchemaExport.Execute(x,x,false,true) or SchemaUpdate ?) to create only
will be appreciated.
Thanks


> Carlos,
>
> On 6/2/06, Carlos Ble <[EMAIL PROTECTED]> wrote:
>> But it doesnt work because ActiveRecordStarter.Initialize doesnt find
>> the models.
>
> What makes you reach this conclusion?
>
>> Im asuming that "MyModel" in the example is a Namespace.
>
> The type attribute is for a qualified type name.
>
>> System.Reflection.TargetInvocationException: Exception has been thrown
>
> Can you disclose the full exception with the stack trace?
>
> Note that there's a test case for that:
> http://svn.castleproject.org/svn/castle/trunk/ActiveRecord/Castle.ActiveRecord.Tests/MultipleDatabasesTestCase.cs
>
> --
> Cheers,
> hammett
> http://www.castleproject.org/~hammett
>




_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users

Reply via email to