@@ -29,9 +29,9 @@ public static class Utility
29
29
public static Type SqlCipherMetadata = systemData . GetType ( "Microsoft.Data.SqlClient.SqlCipherMetadata" ) ;
30
30
public static FieldInfo sqlTceCipherInfoEntryField = SqlCipherMetadata . GetField ( "_sqlTceCipherInfoEntry" , BindingFlags . Instance | BindingFlags . NonPublic ) ;
31
31
public static Type SqlTceCipherInfoEntry = systemData . GetType ( "Microsoft.Data.SqlClient.SqlTceCipherInfoEntry" ) ;
32
- public static MethodInfo SqlTceCipherInfoEntryAdd = SqlTceCipherInfoEntry . GetMethod ( "Add" , BindingFlags . Instance | BindingFlags . NonPublic ) ;
33
- public static ConstructorInfo SqlCipherMetadataConstructor = SqlCipherMetadata . GetConstructor ( BindingFlags . NonPublic | BindingFlags . Instance , null , new Type [ ] { SqlTceCipherInfoEntry , typeof ( ushort ) , typeof ( byte ) , typeof ( string ) , typeof ( byte ) , typeof ( byte ) } , null ) ;
34
- public static ConstructorInfo SqlTceCipherInfoEntryConstructor = SqlTceCipherInfoEntry . GetConstructor ( BindingFlags . NonPublic | BindingFlags . Instance , null , new Type [ ] { typeof ( int ) } , null ) ;
32
+ public static MethodInfo SqlTceCipherInfoEntryAdd = SqlTceCipherInfoEntry . GetMethod ( "Add" , BindingFlags . Instance | BindingFlags . Public ) ;
33
+ public static ConstructorInfo SqlCipherMetadataConstructor = SqlCipherMetadata . GetConstructor ( BindingFlags . Public | BindingFlags . Instance , null , new Type [ ] { SqlTceCipherInfoEntry , typeof ( ushort ) , typeof ( byte ) , typeof ( string ) , typeof ( byte ) , typeof ( byte ) } , null ) ;
34
+ public static ConstructorInfo SqlTceCipherInfoEntryConstructor = SqlTceCipherInfoEntry . GetConstructor ( BindingFlags . Public | BindingFlags . Instance , null , new Type [ ] { typeof ( int ) } , null ) ;
35
35
public static Type SqlSecurityUtil = systemData . GetType ( "Microsoft.Data.SqlClient.SqlSecurityUtility" , throwOnError : true ) ;
36
36
public static MethodInfo SqlSecurityUtilEncryptWithKey = SqlSecurityUtil . GetMethod ( "EncryptWithKey" , BindingFlags . Static | BindingFlags . NonPublic ) ;
37
37
public static MethodInfo SqlSecurityUtilDecryptWithKey = SqlSecurityUtil . GetMethod ( "DecryptWithKey" , BindingFlags . Static | BindingFlags . NonPublic ) ;
0 commit comments