iv id="syntaxCodeBlocks" class="code"><span codeLanguage="CSharp"><table><tr><th>C#</th></tr><tr><td><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">void</span> <span class="identifier">SetForeignKeyConstraint</span>(
	<a href="T_BerkeleyDB_Database.htm">Database</a> <span class="parameter">ForeignDB</span>,
	<a href="T_BerkeleyDB_ForeignKeyDeleteAction.htm">ForeignKeyDeleteAction</a> <span class="parameter">OnDelete</span>,
	<a href="T_BerkeleyDB_ForeignKeyNullifyDelegat