The [ActiveRecord] attribute has a "schema" property / constructor
parameter:
https://github.com/castleproject/ActiveRecord/blob/master/src/Castle.ActiveRecord/Attributes/ActiveRecordAttribute.cs#L80
You'd set it just as you would use the schema in any regular SQL query (
http://dev.mysql.com/doc/refman/5.6/en/glossary.html#glos_schema )

Cheers



--
Mauricio

On Tue, Oct 14, 2014 at 2:09 AM, Rosario Moreno <[email protected]> wrote:

> Do you have a sample about Schema attribs usage? I cannot find any
> documentation about that in Google
>
>
> El jueves, 31 de enero de 2008 10:02:08 UTC-7, Ayende Rahien escribió:
>>
>> You can use the Schema attribute for that.
>>
>> On 1/31/08, Bridge <[email protected]> wrote:
>>>
>>>
>>> Hi,
>>>
>>> we are using the Castle ActiveRecord framework and we have 2 databases
>>> configured.
>>>
>>> Class A is mapped on database 1
>>> Class B is mapped on database 2
>>>
>>> is there any way that we can do a BelongsTo from A to B ? We are using
>>> the MySql connector 5.1 and we can link the tables in MySql if
>>> necessary.
>>>
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected]
> .
> Visit this group at http://groups.google.com/group/castle-project-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to