This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
i made model using this tool. i added only one tabe in project and mapped it result with one model class. But when i try to select query from tabel it results null.
"connectionstring") cfg.Properties.Add(NHibernate.Cfg.Environment.ShowSql, True)
Dim q = db.Query(Of userclass)() and when i try to do this Dim myTransaction As ITransaction = db.BeginTransaction Dim cust As New userclass cust.Username = "suhail" cust.Fname = "s" cust.Lname = "k" cust.Device = 1 cust.Email = "sk@sk.com" db.Save(cust) myTransaction.Commit() db.Close() It results no presist userclass. |
|