摘要:
比如需要这样的效果: select * from user where name like '%四%' or name like '%五%' 可以使用 REGEXP 写成: select * from user where name regexp '四|五' string sql = $@"SELE 阅读全文
摘要:
GROUP BY t.Id,ti.`Status` HAVING (count(ti.`Status`) != COUNT(IF(ti.`Status` = 16,1,NULL))) AND (COUNT(IF(ti.`Status` IN(2,4,8), 1, null)) < 1) 分组后 如果 阅读全文
摘要:
错误信息 Cannot resolve method Void .ctor(Int32, Int32, System.Decimal, System.Decimal) because the declaring type of the method handle System.ValueTuple` 阅读全文
摘要:
在DDD里面 值对象是将一个值 用对象的方式进行表述,来表达一个具体的固定不变的概念。ef core 是 owned实现值对象。 pubic class Student : Entity<int> { public string Name { get; private set; } public M 阅读全文