Skip to content

Commit 3eb6bf4

Browse files
committed
Performance Enhancement
1 parent e4f28e9 commit 3eb6bf4

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

Helper/QueryHelper.cs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
using DbSyncKit.DB.Attributes;
2-
using DbSyncKit.DB.Interface;
1+
using DbSyncKit.DB.Interface;
32
using DbSyncKit.DB.Manager;
4-
using System.Text;
5-
using System.Text.RegularExpressions;
3+
using System.Reflection;
64

75
namespace DbSyncKit.DB.Helper
86
{
@@ -100,5 +98,10 @@ public List<string> GetIdentityColumns<T>() where T : IDataContractComparer
10098
return CacheManager.GetIdentityColumns(typeof(T));
10199
}
102100

101+
public PropertyInfo[] GetComparableProperties<T>() where T: IDataContractComparer
102+
{
103+
return CacheManager.GetComparableProperties(typeof(T));
104+
}
105+
103106
}
104107
}

0 commit comments

Comments
 (0)