This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using Csla;
|
||||
using Csla.Data;
|
||||
|
||||
namespace Volian.CSLA.Library
|
||||
{
|
||||
public partial class DocVersionInfo : ReadOnlyBase<DocVersionInfo>, IVEReadOnlyItem
|
||||
{
|
||||
#region IVEReadOnlyItem
|
||||
ProcedureInfoList _pil = null;
|
||||
public System.Collections.IList GetChildren()
|
||||
{
|
||||
if (_pil == null)
|
||||
_pil = ProcedureInfoList.Get(StructureID);
|
||||
return _pil;
|
||||
}
|
||||
public bool GetChildrenLoaded()
|
||||
{
|
||||
return _pil == null;
|
||||
}
|
||||
public bool HasChildren()
|
||||
{
|
||||
return StructureID > 0;
|
||||
}
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("{0} - {1}", Name, Title);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user