예제 #1
0
        // Function from file: dbcore.dm
        public DBQuery(string sql_query = null, DBConnection connection_handler = null, dynamic cursor_handler = null)
        {
            if (Lang13.Bool(sql_query))
            {
                this.sql = sql_query;
            }

            if (connection_handler != null)
            {
                this.db_connection = connection_handler;
            }

            if (Lang13.Bool(cursor_handler))
            {
                this.default_cursor = cursor_handler;
            }
            this._db_query = DB13.new_query();
            // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
            return;
        }
예제 #2
0
파일: DB13.cs 프로젝트: Somnium13/SS13
 // I have no idea why a type is being passed into this f*****g thing.
 public static ByTable columns(DB13_QUERY q, Type t)
 {
     Logger.DebugMinor("db->columns");
     return(null);
 }
예제 #3
0
파일: DB13.cs 프로젝트: Somnium13/SS13
 public static int row_count(DB13_QUERY q)
 {
     Logger.DebugMinor("db->row_count");
     return(0);
 }
예제 #4
0
파일: DB13.cs 프로젝트: Somnium13/SS13
 public static int rows_affected(DB13_QUERY q)
 {
     Logger.DebugMinor("db->rows_affected");
     return(0);
 }
예제 #5
0
파일: DB13.cs 프로젝트: Somnium13/SS13
 public static bool close(DB13_QUERY q)
 {
     Logger.DebugMinor("db->close-q");
     return(false);
 }
예제 #6
0
파일: DB13.cs 프로젝트: Somnium13/SS13
 public static string error_msg(DB13_QUERY connection)
 {
     Logger.DebugMinor("db->error_msg-q");
     return("");
 }
예제 #7
0
파일: DB13.cs 프로젝트: Somnium13/SS13
 public static bool next_row(DB13_QUERY q, ByTable item, ByTable conversions)
 {
     Logger.DebugMinor("db->next_row");
     return(false);
 }
예제 #8
0
파일: DB13.cs 프로젝트: Somnium13/SS13
 public static bool execute(DB13_QUERY q, string sql_query, DB13_CONNECTION c, dynamic cursor, dynamic unknown_arg)
 {
     Logger.DebugMinor("db->execute");
     return(false);
 }