Example #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
     }));
 }
Example #2
0
 internal static void Commit(this Object target)
 {
     target.Invoke(Constants.Methods.Commit, Constants.MethodSignatures.Void);
 }
Example #3
0
 internal static bool Next(this Object target)
 {
     return(target.Invoke <bool>(Constants.Methods.Next, Constants.MethodSignatures.Bool, new object[0]));
 }
Example #4
0
 internal static Object ExecuteQuery(this Object target)
 {
     return(target.Invoke <Object>(Constants.Methods.ExecuteQuery, Constants.MethodSignatures.ExecuteQuery_ResultSet, new object[0]));
 }
Example #5
0
 internal static Object CreateStatement(this Object target)
 {
     return(target.Invoke <Object>(Constants.Methods.CreateStatement, Constants.MethodSignatures.CreateStatement_Statement, new object[0]));
 }