Ejemplo n.º 1
0
 internal static GifEmote Load(string name)
 {
     return(Database.LoadRecord(null, MongoDatabase.FilterEqual <GifEmote, string>("name", name)));
 }
Ejemplo n.º 2
0
 internal void Save()
 {
     Database.UpdateRecord(null, MongoDatabase.FilterEqual <GifEmote, string>("_id", this.name), this);
 }
 private FilterDefinition <O> Equal()
 => MongoDatabase.FilterEqual <O, I>("_id", _id);