摘要:
先抛出结论: 1)mysql 可以在 order by 和 group by 中使用别名 2)group by 和 order by 中使用别名时,赋值语句不会重复执行,只是将赋值语句的赋值顺序提前触发了 3)执行顺序为 group by -> order by -> select 中的赋值语句 1 阅读全文
摘要:
前言 我们在编程过程中,经常需要将一个对象转成另一个对象(一般称为对象映射)。 比如我们有2个类: //第1个类 CLS1 class CLS1 { public int i {get; set;} public string str {get; set;} } //第2个类 CLS2 class 阅读全文
摘要:
关于 Program.cs Program.cs 里面的 Main 方法是程序入口。 public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } pu 阅读全文