thx i did it by doing that
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                   xsi:schemaLocation="urn:nhibernate-mapping-2.2
c:\nhibernate-mapping.xsd">

2009/4/21 Ahmed Emad <[email protected]>

> Thx for your reply
> i already have the file and i did it by this way
> but i want to know if i can do that by writing it in the mapping file
> more explanation>> if i want to write the mapping file on my machine and
> transfer them individually apart from the application where i created them
> to another one on another machine who don't know how to add schema to the
> file.
> i know that it is a strange case but i face something near that.
> thx for your time and attention.
>
> 2009/4/21 Keith Bloom <[email protected]>
>
>
>> For intellisense to work you have to added the NHibernate mapping
>> schema to Visual Studio.
>>
>> First you need the file nhibernate-mapping.xsd from the src/Nibernate
>> folder. You can get this by either downloading the source or from
>> browsing the repository here:
>> http://nhibernate.svn.sourceforge.net/viewvc/nhibernate/
>>
>> When you have the file you can add it to Visual Studio and for 2008
>> the location is C:\Program Files\Microsoft Visual Studio
>> 9.0\Xml\Schemas.  Other versions have a similar structure.
>>
>> Keith.
>>
>> 2009/4/21 Ahmed Emad <[email protected]>
>> >
>> > hi
>> > It is known that if i want to add nhibernate-mapping schema provide
>> > intellisense and validation when editing an XML mapping document i can
>> > do that by adding schema to schema property in XML file properties.
>> >
>> > can i do that by writing it to the mapping file without doing the
>> > previous work.
>> > i trying to something like that .
>> >
>> > <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" schema ="c:
>> > \nhibernate-mapping.xsd">
>> >
>> > and i put the schema in this direction but it didn't work
>> >
>> > so , what i should do?
>> >
>> > >
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
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