public static async ETVoid SaveNotWait <T>(this DBComponent self, T entity, long taskId = 0, string collection = null) where T : Entity { if (taskId == 0) { await self.Save(entity, collection); return; } await self.Save(taskId, entity, collection); }
public static async ETTask AddGamerToDB(DBComponent db, Gamer gamer) { await db.Save(gamer); Log.Info($"ÐÂÔöÍæ¼Ò£º{gamer.Namer}¡£"); }