/// <summary> /// 获取As关键字 /// </summary> private static string GetAs(IDialect dialect) { if (dialect == null) { return(null); } return(dialect.SupportSelectAs() ? "As " : null); }
/// <summary> /// 获取As关键字 /// </summary> /// <param name="dialect">Sql方言</param> private static string GetAs(IDialect dialect) => dialect == null ? null : dialect.SupportSelectAs() ? "As " : null;