Понравилось название
Date: 03/17/08
(Code WTF) Keywords: sql
Может быть, и не wtf. Как посмотреть...
///
/// (see the name of the function)
///
///
///
public static IEnumerable<SqlFieldTypeGroup> GetAllowedSecondOperandTypeGroupsForSpecifiedOperationAndSpecifiedFirstOperandTypeGroup(
Operation operation, SqlFieldTypeGroup firstOperandTypeGroup)
{
foreach (SqlFieldTypeGroup group in All)
{
if (operation.IsOperandTypePairAllowed(firstOperandTypeGroup, group))
yield return group;
}
}
Source: http://community.livejournal.com/code_wtf/126115.html