protected internal static bool Exists(Type targetType, string filter, params object[] args) { return Count(targetType, filter, args) > 0; }
/// <summary> /// Check if any instance matches the query. /// </summary> /// <param name="targetType">target Type</param> /// <param name="detachedQuery">The query expression</param> /// <returns><c>true</c> if an instance is found; otherwise <c>false</c>.</returns> public static bool Exists(Type targetType, IDetachedQuery detachedQuery) { return(ActiveRecordBase.Exists(targetType, detachedQuery)); }