随笔分类 - EF
摘要:ef core group by 去生重复,保留指定条件行 //当前活动信息 var actQry = from ap in _activityProductRep.DetachedEntities join a in _activityRep.DetachedEntities on ap.Acti
阅读全文
摘要:public CustomerMap() { this.ToTable("Customer"); this.HasKey(c => c.Id); this.Property(u => u.Username).HasMaxLength(1000); this.Property(u => u.Email
阅读全文