src/Shared/EntityFramework.SqlServerCompact/CommonUtils.cs
// <summary>
// Check whether the database pointed to by the file name exists or not.
// </summary>
// <param name="fileName"> Database file path </param>
Check whether the database pointed to by the file name exists or not.
Check whether the database pointed to by the file name exists or not .
public static bool DatabaseExists(string fileName)
        {
            var expandedFileName = ReplaceDataDirectory(fileName);
            return File.Exists(expandedFileName);
        }
public static bool DatabaseExists ( string fileName ) { var expandedFileName = ReplaceDataDirectory ( fileName ) ; return File . Exists ( expandedFileName ) ; }
Check whether the database pointed to by the file name exists or not.
Check whether the database pointed to by the file name exists or not .
fileName
string
Database file path
Database file path