Rename "Image*" to "UserImage*"

This commit is contained in:
Sébastien André
2020-12-18 16:51:49 +01:00
parent 4e3666de82
commit f2875eb969
12 changed files with 50 additions and 49 deletions

View File

@@ -16,7 +16,7 @@ namespace skydiveLogs_api.Data
BsonMapper.Global.Entity<Jump>().DbRef(x => x.Gear, "Gear");
BsonMapper.Global.Entity<Jump>().DbRef(x => x.User, "User");
BsonMapper.Global.Entity<Image>().DbRef(x => x.User, "User");
BsonMapper.Global.Entity<UserImage>().DbRef(x => x.User, "User");
}
public ILiteCollection<T> GetCollection<T>()
@@ -43,6 +43,6 @@ namespace skydiveLogs_api.Data
public ILiteCollection<User> CollOfUser => _db.GetCollection<User>();
public ILiteCollection<Image> CollOfImage => _db.GetCollection<Image>();
public ILiteCollection<UserImage> CollOfImage => _db.GetCollection<UserImage>();
}
}