Click here to Skip to main content
15,879,535 members
Articles / Desktop Programming / WPF

Tasks managing app using MVVM and NHibernate

Rate me:
Please Sign up or sign in to vote.
4.71/5 (5 votes)
19 Jul 2012CPOL4 min read 27.2K   879   10  
Full sample on how to develop a MVVM desktop app with NHibernate (SQLite) backend
<?xml version="1.0" encoding="utf-8"?>
<!-- 
This template was written to work with NHibernate.Test.
Copy the template to your NHibernate.Test project folder and rename it hibernate.cfg.xml. Change it 
for your own use before compiling tests in Visual Studio.
-->
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
	<session-factory name="NHibernate.Test">
		<property name="connection.driver_class">NHibernate.Driver.SybaseSQLAnywhereDriver</property>
		<property name="connection.connection_string">
			UID=DBA;PWD=sql;Server=localhost;DBN=nhibernate;DBF=c:\nhibernate.db;ASTOP=No
		</property>
		<property name="dialect">NHibernate.Dialect.SybaseSQLAnywhere12Dialect</property>
		<property name="query.substitutions">true=1;false=0</property>
	</session-factory>
</hibernate-configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Spain Spain
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions