コード例 #1
0
    public static bool HasJoiner(this Type thisType, string className)
    {
        BasicList <ForeignKeyAttribute> possibleList = thisType.GetCustomAttributes <ForeignKeyAttribute>() !;

        return(possibleList.Any(items => items.ClassName == className));
    }