#if DEBUG
UserID = "[email protected]";
Password = "123456";
#endif
代碼只會在Debug模式執行 Release模式不會執行 在生成的時候也直接忽略
一般用於測試時賦予默認值 或登錄時省了輸入用戶名密碼操作
#if DEBUG
UserID = "[email protected]";
Password = "123456";
#endif
代碼只會在Debug模式執行 Release模式不會執行 在生成的時候也直接忽略
一般用於測試時賦予默認值 或登錄時省了輸入用戶名密碼操作
public class RedisCacheHelper { ////默認緩存過期時間單位秒 public static int secondsTimeOut = 30 * 60;
public class LambdaHelper { /* * ●from子句:指定查詢操作的數據源和範圍變量。 * * ●select子句:指定查詢結果的類型和表現形式。