mirror of
				https://gitee.com/dotnetchina/SqlSugar.git
				synced 2025-10-26 18:59:17 +08:00 
			
		
		
		
	Oracle Union all bug
This commit is contained in:
		| @@ -539,6 +539,18 @@ namespace OrmTest.Demo | ||||
|                 id=st1.Id, | ||||
|                 name=st2.Name | ||||
|             }).ToList(); | ||||
|  | ||||
|             var q1 = db.Queryable<Student>().Select(it => new Student() | ||||
|             { | ||||
|                 Id = it.Id, | ||||
|                 Name = "a" | ||||
|             }); | ||||
|             var q2 = db.Queryable<Student>().Select(it => new Student() | ||||
|             { | ||||
|                 Id = it.Id, | ||||
|                 Name = "b" | ||||
|             }); | ||||
|             var unionAllList = db.Union(q1, q2).ToList(); | ||||
|         } | ||||
|         public static void Funs() | ||||
|         { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sunkaixuan
					sunkaixuan