Click here to Skip to main content
15,889,738 members
Home / Discussions / C#
   

C#

 
GeneralRe: DNS access error? Pin
George_George3-Aug-08 17:22
George_George3-Aug-08 17:22 
QuestionSql Transactions Pin
mrcooll1-Aug-08 23:56
mrcooll1-Aug-08 23:56 
AnswerRe: Sql Transactions Pin
mrcooll2-Aug-08 2:53
mrcooll2-Aug-08 2:53 
AnswerRe: Sql Transactions Pin
PIEBALDconsult2-Aug-08 5:24
mvePIEBALDconsult2-Aug-08 5:24 
QuestionHow to forbid a control to get focus ? Pin
xu_xuthus1-Aug-08 23:55
xu_xuthus1-Aug-08 23:55 
AnswerRe: How to forbid a control to get focus ? Pin
PIEBALDconsult2-Aug-08 5:18
mvePIEBALDconsult2-Aug-08 5:18 
AnswerRe: How to forbid a control to get focus ? Pin
nelsonpaixao3-Aug-08 14:57
nelsonpaixao3-Aug-08 14:57 
QuestionNHibernate Pin
Puneet Bhatnagar1-Aug-08 23:18
Puneet Bhatnagar1-Aug-08 23:18 
Hi
I am using nHibeernate version 1.0.4., which I took from SourceForge.Net with the configuration settings given in the site itself. I am getting the follwing error in Mapping a file.
Error Could not find a getter for property 'UN' in class 'Address.Info'
A first chance exception of type 'System.NullReferenceException' occurred in Address.exe


Please find below my code files: PLease replace &amp;lt; with '<' and &amp;gt; with '>'.

class Info
{

private int id;

private string UN;
private string PN;
}

My mapping File with name Info.hbm.xml:

<?xml version="1.0" encoding="utf-8" ?>
&lt;hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"&gt;
&lt;class name ="Address.Info, Address" table ="Info"&gt;
&lt;id name ="Id" column="LoginID" type ="Int32" unsaved-value ="0"&gt;
&lt;generator class="native" /&gt;
&lt;/id&gt;
&lt;property name="UN" column="UN" type="String(50)" /&gt;
&lt;property name="PN" column="PN" type="String(50)" /&gt;
&lt;/class&gt;
&lt;/hibernate-mapping&gt;


Could you please tell me what I need to do to reslove this issue??

Thanks in Advance

With Regards,
Puneet
AnswerRe: NHibernate Pin
Paul Conrad2-Aug-08 18:56
professionalPaul Conrad2-Aug-08 18:56 
QuestionCollections and sorting using an interface Pin
DaveyM691-Aug-08 21:55
professionalDaveyM691-Aug-08 21:55 
AnswerRe: Collections and sorting using an interface Pin
User 66581-Aug-08 22:56
User 66581-Aug-08 22:56 
GeneralRe: Collections and sorting using an interface Pin
DaveyM692-Aug-08 2:29
professionalDaveyM692-Aug-08 2:29 
GeneralRe: Collections and sorting using an interface Pin
DaveyM692-Aug-08 4:11
professionalDaveyM692-Aug-08 4:11 
GeneralRe: Collections and sorting using an interface Pin
DaveyM692-Aug-08 4:48
professionalDaveyM692-Aug-08 4:48 
GeneralRe: Collections and sorting using an interface [modified] Pin
User 66582-Aug-08 5:06
User 66582-Aug-08 5:06 
GeneralRe: Collections and sorting using an interface Pin
DaveyM692-Aug-08 8:47
professionalDaveyM692-Aug-08 8:47 
GeneralRe: Collections and sorting using an interface Pin
DaveyM692-Aug-08 10:22
professionalDaveyM692-Aug-08 10:22 
Questionmeta file using C# Pin
algates00271-Aug-08 18:56
algates00271-Aug-08 18:56 
AnswerRe: meta file using C# Pin
Thomas Stockwell2-Aug-08 7:31
professionalThomas Stockwell2-Aug-08 7:31 
QuestionHow to find the Content datatype in a String Pin
K V Sekhar1-Aug-08 18:47
K V Sekhar1-Aug-08 18:47 
AnswerRe: How to find the Content datatype in a String Pin
Rajesh R Subramanian1-Aug-08 20:59
professionalRajesh R Subramanian1-Aug-08 20:59 
AnswerRe: How to find the Content datatype in a String Pin
DaveyM691-Aug-08 21:11
professionalDaveyM691-Aug-08 21:11 
AnswerRe: How to find the Content datatype in a String Pin
Anurag Gandhi1-Aug-08 21:51
professionalAnurag Gandhi1-Aug-08 21:51 
GeneralRe: How to find the Content datatype in a String Pin
K V Sekhar1-Aug-08 23:06
K V Sekhar1-Aug-08 23:06 
GeneralRe: How to find the Content datatype in a String Pin
Guffa1-Aug-08 23:35
Guffa1-Aug-08 23:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.