Rename "Image*" to "UserImage*"
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user