🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.lang.csharp
Article #22500

nHibernate

#22500
From: skynet
Date: Thu, 06 Feb 2014 20:01
9 lines
1131 bytes
Hi,

Czy nHibernate wspiera konstrukcje CONSTRAINT ,FOREIGN KEY  ,REFERENCES
tzn. czy można w pliku xml skonfigurować dwie tabele powiązane id i 
id_FK w taki sposób aby nHibernate przed usunięciem sprawdził czy 
istnieje powiązanie ? i Czy można podać komunikat w tym pliku xml  dla 
danego powiązania gdy zostanie naruszony dany constrain ?

skynet
Technical Details
Message-ID: <ld0pm6$kor$1@news.task.gda.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!news.task.gda.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!news.task.gda.pl!not-for-mail
From: skynet <skynet@onet.com.pl>
Newsgroups: alt.pl.comp.lang.csharp
Subject: nHibernate
Date: Thu, 06 Feb 2014 21:01:14 +0100
Organization: CI TASK http://www.task.gda.pl/
Lines: 9
Message-ID: <ld0pm6$kor$1@news.task.gda.pl>
NNTP-Posting-Host: 178235209170.warszawa.vectranet.pl
Mime-Version: 1.0
X-Trace: news.task.gda.pl 1391716870 21275 178.235.209.170 (6 Feb 2014 20:01:10 GMT)
X-Complaints-To: abuse@news.task.gda.pl
NNTP-Posting-Date: Thu, 6 Feb 2014 20:01:10 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit