public static GetLocalPathFromRelativePath ( string relativePath ) : string | ||
relativePath | string | |
Результат | string |
public static void MarkTablesInstalled(bool installed = true) { var appData = ServerHelper.GetLocalPathFromRelativePath("~/App_Data/mobSocial"); System.IO.File.Create(appData); }
public static bool AreTablesInstalled() { var appData = ServerHelper.GetLocalPathFromRelativePath("~/App_Data/mobSocial"); return(System.IO.File.Exists(appData)); }