mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-04 12:47:57 +08:00
4.5.9
This commit is contained in:
parent
7a77d122a8
commit
8f13126a57
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("4.5.2.8")]
|
[assembly: AssemblyVersion("4.5.9")]
|
||||||
[assembly: AssemblyFileVersion("4.5.2.8")]
|
[assembly: AssemblyFileVersion("4.5.9")]
|
||||||
|
@ -218,7 +218,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
var oldIsEnableLog = this.Context.Ado.IsEnableLogEvent;
|
var oldIsEnableLog = this.Context.Ado.IsEnableLogEvent;
|
||||||
this.Context.Ado.IsEnableLogEvent = false;
|
this.Context.Ado.IsEnableLogEvent = false;
|
||||||
string sql = @" select cu.COLUMN_name KEYNAME from user_cons_columns cu, user_constraints au
|
string sql = @" select distinct cu.COLUMN_name KEYNAME from user_cons_columns cu, user_constraints au
|
||||||
where cu.constraint_name = au.constraint_name
|
where cu.constraint_name = au.constraint_name
|
||||||
and au.constraint_type = 'P' and au.table_name = '" +tableName.ToUpper()+ @"'";
|
and au.constraint_type = 'P' and au.table_name = '" +tableName.ToUpper()+ @"'";
|
||||||
var pks = this.Context.Ado.SqlQuery<string>(sql);
|
var pks = this.Context.Ado.SqlQuery<string>(sql);
|
||||||
|
Loading…
Reference in New Issue
Block a user