Reset related lists

This commit is contained in:
Rich
2009-02-06 15:55:52 +00:00
parent 1731dbe43b
commit 26f8e03a8c
29 changed files with 360 additions and 71 deletions

View File

@@ -58,7 +58,7 @@ namespace VEPROMS.CSLA.Library
#region Factory Methods
public static UserInfoList _UserInfoList = null;
/// <summary>
/// Return a list of all projects.
/// Return a list of all UserInfo.
/// </summary>
public static UserInfoList Get()
{
@@ -77,6 +77,13 @@ namespace VEPROMS.CSLA.Library
throw new DbCslaException("Error on UserInfoList.Get", ex);
}
}
/// <summary>
/// Reset the list of all UserInfo.
/// </summary>
public static void Reset()
{
_UserInfoList = null;
}
// TODO: Add alternative gets -
//public static UserInfoList Get(<criteria>)
//{