This commit is contained in:
30
PROMS/proms/Volian.CSLA.Library/Extension/FolderInfoExt.cs
Normal file
30
PROMS/proms/Volian.CSLA.Library/Extension/FolderInfoExt.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using Csla;
|
||||
using Csla.Data;
|
||||
|
||||
namespace Volian.CSLA.Library
|
||||
{
|
||||
public partial class FolderInfo : ReadOnlyBase<FolderInfo>, IVEReadOnlyItem
|
||||
{
|
||||
#region IVEReadOnlyItem
|
||||
public System.Collections.IList GetChildren()
|
||||
{
|
||||
return DocVersions;
|
||||
}
|
||||
public bool GetChildrenLoaded()
|
||||
{
|
||||
return _DocVersions == null;
|
||||
}
|
||||
public bool HasChildren()
|
||||
{
|
||||
return DocVersionCount > 0;
|
||||
}
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("{0} - {1}", Name, Title);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user