mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09:00
Fill out xmldoc
This commit is contained in:
parent
c1d133977e
commit
6f7ba55f80
@ -24,9 +24,9 @@ namespace osu.Game.Database
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Refresh an instance potentially from a different thread with a local context-tracked instance.
|
/// Refresh an instance potentially from a different thread with a local context-tracked instance.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="obj"></param>
|
/// <param name="obj">The object to use as a reference when negotiating a local instance.</param>
|
||||||
/// <param name="lookupSource"></param>
|
/// <param name="lookupSource">An optional lookup source which will be used to query and populate a freshly retrieved replacement. If not provided, the refreshed object will still be returned but will not have any includes.</param>
|
||||||
/// <typeparam name="T"></typeparam>
|
/// <typeparam name="T">A valid EF-stored type.</typeparam>
|
||||||
protected virtual void Refresh<T>(ref T obj, IEnumerable<T> lookupSource = null) where T : class, IHasPrimaryKey
|
protected virtual void Refresh<T>(ref T obj, IEnumerable<T> lookupSource = null) where T : class, IHasPrimaryKey
|
||||||
{
|
{
|
||||||
var context = GetContext();
|
var context = GetContext();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user