I use a template for myGeneration called lujan99. It works well but in the
99% of the time you will need to change the generated files by hand to
reflect exactly what you want.

I recommend you to get also Resharper and the extension for nhibernate, it
will help you a lot with your mappings.

On Wed, Jan 14, 2009 at 1:03 PM, Anne Epstein <[email protected]> wrote:

> To echo Gustavo, do consider trying to map by hand- I think you lose a
> great opportunity for understanding if you use a tool to generate them for
> you.  I wrote a post on this a few weeks ago actually, here, it might be
> worth a read if you're on the fence:
>
> http://devlicio.us/blogs/anne_epstein/archive/2008/12/29/the-benefits-of-writing-your-mapping-files-by-hand.aspx
>
> A
>
>
> On Wed, Jan 14, 2009 at 6:26 AM, Gustavo Ringel 
> <[email protected]>wrote:
>
>> You already got Ayende's suggestions.
>> You can think it as a dream at first. But if you are not very cautious of
>> what you're doing and do not change a lot after importing...it will be a
>> nightmare at last...
>>
>> My experience is that taking the time to do this on the go saves time in
>> the long range. While generating seems to be a fast lane at the beginning
>> but it costs you in things you don't know from where it come...and then
>> massive changes...
>>
>> It's like tests in the correct places it's a little burden at the
>> beginning but when you decide about refactoring, throwing implementations
>> and bring new ones...it pays the work.
>>
>> Gustavo.
>>
>> On Wed, Jan 14, 2009 at 2:09 PM, Kris-I <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> Is there a tools to generate mapping files for an existing database ?
>>>
>>> It's may be a dream ;-)
>>>
>>> Regards,
>>>
>>>
>>>
>>
>>
>>
>
> >
>

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

Reply via email to