I'd chose to use SQLite with Linq for mobile devices.
http://sqlite.phxsoftware.com/

On Sat, Sep 19, 2009 at 12:33 AM, Fabio Maulo <[email protected]> wrote:

> NH is not something you want use in a mobile device.
>
> 2009/9/18 miguelrvs <[email protected]>
>
>>
>> Hello,
>> Does anyone has used nhibernate and the .net compact framework?
>> I'm a big fan of hibernate (the java one) and just began working in
>> C#. I want to use nhibernate in a project, but I don't know  if it can
>> be used in a CF project with mssql compact. I'm intending to use .net
>> framework 3.5.
>>
>> I've done my homework and tried to include it, but nhibernate uses a
>> lot of libraries and exhausts the memory of the windows mobile 5
>> emulator before all the stuff is loaded. I don't know if there is a
>> way to exclude some [seemingly] unnecesary assemblies, like
>> system.web.dll, system.webservices.dll, oracleClient.dll, etc.
>>
>> From what I saw, the binary nhibernate is compiled for .net 1.1 and
>> 2.0, so I changed my project to .net 2.0, but it continues to load
>> libraries from the .net.2.0.0.0
>> system.data.xml.dll
>> system data.dll
>> system.configuration.dll
>> system.drawing.dll
>> system.windows.forms.dll
>> system.design.dll
>> (and more, until the memory fills)
>>
>> Is anything I'm making wrong? Is anything I can do?
>> Thanks
>>
>> Miguel
>>
>>
>>
>
>
> --
> Fabio Maulo
>
>
> >
>

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