public static bool HasJoiner(this Type thisType, string className) { BasicList <ForeignKeyAttribute> possibleList = thisType.GetCustomAttributes <ForeignKeyAttribute>() !; return(possibleList.Any(items => items.ClassName == className)); }
public static bool HasJoiner(this Type thisType, string className) { BasicList <ForeignKeyAttribute> possibleList = thisType.GetCustomAttributes <ForeignKeyAttribute>() !; return(possibleList.Any(items => items.ClassName == className)); }