Each database user is associated with a schema, so that's what you're
actually interested in mapping.
There are two ways to do it, and they're both covered in
schemas<http://wiki.fluentnhibernate.org/show/MappingPatternsSchemas>on
the wiki.

On Sat, Feb 14, 2009 at 7:54 PM, araujoao <[email protected]> wrote:

>
> Hello,
>      How can I map sql server tables under a specific user.
>
>      For example I have the table below, under the user test. How can
> I map that?
>
> CREATE TABLE [test].[Languages](
>        [LanguageID] [int] IDENTITY(1,1) NOT NULL,
>        [Description] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT
> NULL,
>  CONSTRAINT [PK_Languages] PRIMARY KEY CLUSTERED
> (
>        [LanguageID] ASC
> )WITH (PAD_INDEX  = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
> ) ON [PRIMARY]
>
>
> Thanks,
>
>
> Joao
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to