public virtual T RemoveRecord <T>(IDbTable <T> table, Type type, bool exactMatch = false) where T : class, IGameBase { T result; result = default(T); if (table == null || type == null) { // PrintError goto Cleanup; } result = table.RemoveRecord(type, exactMatch); Cleanup: return(result); }
public virtual T RemoveRecord <T>(IDbTable <T> table, long uid) where T : class, IGameBase { T result; result = default(T); if (table == null) { // PrintError goto Cleanup; } result = table.RemoveRecord(uid); Cleanup: return(result); }