Beispiel #1
0
        // -------------------------------------------------------------------------------
        // Save
        // -------------------------------------------------------------------------------
        public override BaseDataTable Save()
        {
            BaseDataTable data = new BaseDataTable();

            data.AddString(DatabaseManager.fieldName, sActorName);
            data.AddString(DatabaseManager.fieldId, sAccountName);
            data.AddBool(DatabaseManager.fieldBanned, bBanned);
            data.AddBool(DatabaseManager.fieldDeleted, bDeleted);

            return(data);
        }
Beispiel #2
0
        // -------------------------------------------------------------------------------
        // Save
        // -------------------------------------------------------------------------------
        public BaseDataTable Save()
        {
            BaseDataTable data = new BaseDataTable();

            data.AddString(DatabaseManager.fieldName, sName);
            data.AddString(DatabaseManager.fieldPassword, sPassword);
            data.AddString(DatabaseManager.fieldEmail, sMail);
            data.AddInt(DatabaseManager.fieldAction, _nAction);
            data.AddString(DatabaseManager.fieldDeviceId, sDeviceId);
            data.AddBool(DatabaseManager.fieldBanned, bBanned);
            data.AddBool(DatabaseManager.fieldDeleted, bDeleted);
            data.AddBool(DatabaseManager.fieldConfirmed, bConfirmed);
            data.AddBool(DatabaseManager.fieldDone, bDone);
            data.AddInt(DatabaseManager.fieldCode, nCode);

            return(data);
        }