If this is your definition of 'powerful', then, yes, I would agree that
having intellisense support in the hibernate.cfg.xml is better than trying
to type it all from memory in the web.config or app.config
<nhibernate></nhibernate> section.

WARNING: this is a personal opinion of mine, YMMV.

-Steve B.

On Tue, Apr 7, 2009 at 11:54 AM, Ahmed Emad <[email protected]> wrote:

> I founded that
> you can configure an IDE like Visual Studio to provide IntelliSense inside
> the <hibernateconfiguration>
> section: Just copy the configuration schema file
> (nhibernate-configuration.xsd)
> in the sub-directory \Common7\Packages\schemas\xml\ of Visual Studio
> installation directory. You can also
> copy the mapping schema file (nhibernate-mapping.xsd) to have IntelliSense
> when editing mapping
> files. You can find these files in NHibernate’s source code.
>
> 2009/4/7 Fabio Maulo <[email protected]>
>
> what you are talking about ?
>>
>> 2009/4/7 Ahmed Emad <[email protected]>
>>
>>
>>> i found in some papers that using nhibernate-configuration.xsd schema
>>> to configure any NHibernate application is more powerful than using
>>> <hibernate></hibernate> .
>>>
>>> Do any one know why????
>>>
>>
>>
>>
>> --
>> Fabio Maulo
>>
>
>


-- 
Steve Bohlen
[email protected]
http://blog.unhandled-exceptions.com
http://twitter.com/sbohlen

Reply via email to