mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	- 修复 dm7 dbfirst SQL 中存在特殊字符的问题;
This commit is contained in:
		@@ -486,14 +486,5 @@
 | 
				
			|||||||
            <param name="that"></param>
 | 
					            <param name="that"></param>
 | 
				
			||||||
            <returns></returns>
 | 
					            <returns></returns>
 | 
				
			||||||
        </member>
 | 
					        </member>
 | 
				
			||||||
        <member name="M:Microsoft.Extensions.DependencyInjection.FreeSqlRepositoryDependencyInjection.AddFreeRepository(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{FreeSql.FluentDataFilter},System.Reflection.Assembly[])">
 | 
					 | 
				
			||||||
            <summary>
 | 
					 | 
				
			||||||
            批量注入 Repository,可以参考代码自行调整
 | 
					 | 
				
			||||||
            </summary>
 | 
					 | 
				
			||||||
            <param name="services"></param>
 | 
					 | 
				
			||||||
            <param name="globalDataFilter"></param>
 | 
					 | 
				
			||||||
            <param name="assemblies"></param>
 | 
					 | 
				
			||||||
            <returns></returns>
 | 
					 | 
				
			||||||
        </member>
 | 
					 | 
				
			||||||
    </members>
 | 
					    </members>
 | 
				
			||||||
</doc>
 | 
					</doc>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -459,15 +459,15 @@ all_constraints b,
 | 
				
			|||||||
all_cons_columns c, --外键表
 | 
					all_cons_columns c, --外键表
 | 
				
			||||||
all_cons_columns d  --主键表
 | 
					all_cons_columns d  --主键表
 | 
				
			||||||
where
 | 
					where
 | 
				
			||||||
a.r_constraint_name = b.constraint_name   
 | 
					a.r_constraint_name = b.constraint_name
 | 
				
			||||||
and a.constraint_type = 'R'   
 | 
					and a.constraint_type = 'R'
 | 
				
			||||||
and b.constraint_type = 'P'   
 | 
					and b.constraint_type = 'P'
 | 
				
			||||||
and a.r_owner = b.owner   
 | 
					and a.r_owner = b.owner
 | 
				
			||||||
and a.constraint_name = c.constraint_name   
 | 
					and a.constraint_name = c.constraint_name
 | 
				
			||||||
and b.constraint_name = d.constraint_name   
 | 
					and b.constraint_name = d.constraint_name
 | 
				
			||||||
and a.owner = c.owner   
 | 
					and a.owner = c.owner
 | 
				
			||||||
and a.table_name = c.table_name   
 | 
					and a.table_name = c.table_name
 | 
				
			||||||
and b.owner = d.owner   
 | 
					and b.owner = d.owner
 | 
				
			||||||
and b.table_name = d.table_name
 | 
					and b.table_name = d.table_name
 | 
				
			||||||
and a.owner in ({1}) and {0}
 | 
					and a.owner in ({1}) and {0}
 | 
				
			||||||
", loc8, databaseIn);
 | 
					", loc8, databaseIn);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -459,15 +459,15 @@ all_constraints b,
 | 
				
			|||||||
all_cons_columns c, --外键表
 | 
					all_cons_columns c, --外键表
 | 
				
			||||||
all_cons_columns d  --主键表
 | 
					all_cons_columns d  --主键表
 | 
				
			||||||
where
 | 
					where
 | 
				
			||||||
a.r_constraint_name = b.constraint_name   
 | 
					a.r_constraint_name = b.constraint_name
 | 
				
			||||||
and a.constraint_type = 'R'   
 | 
					and a.constraint_type = 'R'
 | 
				
			||||||
and b.constraint_type = 'P'   
 | 
					and b.constraint_type = 'P'
 | 
				
			||||||
and a.r_owner = b.owner   
 | 
					and a.r_owner = b.owner
 | 
				
			||||||
and a.constraint_name = c.constraint_name   
 | 
					and a.constraint_name = c.constraint_name
 | 
				
			||||||
and b.constraint_name = d.constraint_name   
 | 
					and b.constraint_name = d.constraint_name
 | 
				
			||||||
and a.owner = c.owner   
 | 
					and a.owner = c.owner
 | 
				
			||||||
and a.table_name = c.table_name   
 | 
					and a.table_name = c.table_name
 | 
				
			||||||
and b.owner = d.owner   
 | 
					and b.owner = d.owner
 | 
				
			||||||
and b.table_name = d.table_name
 | 
					and b.table_name = d.table_name
 | 
				
			||||||
and a.owner in ({1}) and {0}
 | 
					and a.owner in ({1}) and {0}
 | 
				
			||||||
", loc8, databaseIn);
 | 
					", loc8, databaseIn);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user