-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: fLUENT nhibernate Mappings
PostPosted: Thu Aug 25, 2011 11:04 am 
Newbie

Joined: Thu Aug 25, 2011 10:51 am
Posts: 1
Hello
i m beginning in FluentNhibernate,so i follow the tutorial found in http://wiki.fluentnhibernate.org/Getting_started
here they are working with SQLite database or I m trying the same totu with SQL SERver.
I FOUND this in the Nhibernate Wiki
Code:
Fluently.Configure()
  .Database(/* examples here */)
  .Mappings(...)
  .BuildSessionFactory();

Or i don't know what to put in the .Mappings.
i found this:.Mappings(
m => m.FluentMappings.AddFromAssemblyOf<Entity>())
(1)
what am i supposed to put in the <Entity>?i didn't not understand what the (1) mean??
any help
thank you


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.