Пример #1
0
 internal static Object PrepareStatement(this Object target, string query)
 {
     return(target.Invoke <Object>(
                Constants.Methods.PrepareStatement,
                Constants.MethodSignatures.PreparedStatement_String_PreparedStatement,
                new object[]
     {
         query
     }));
 }
Пример #2
0
 internal static void Commit(this Object target)
 {
     target.Invoke(Constants.Methods.Commit, Constants.MethodSignatures.Void);
 }
Пример #3
0
 internal static bool Next(this Object target)
 {
     return(target.Invoke <bool>(Constants.Methods.Next, Constants.MethodSignatures.Bool, new object[0]));
 }
Пример #4
0
 internal static Object ExecuteQuery(this Object target)
 {
     return(target.Invoke <Object>(Constants.Methods.ExecuteQuery, Constants.MethodSignatures.ExecuteQuery_ResultSet, new object[0]));
 }
Пример #5
0
 internal static Object CreateStatement(this Object target)
 {
     return(target.Invoke <Object>(Constants.Methods.CreateStatement, Constants.MethodSignatures.CreateStatement_Statement, new object[0]));
 }