Changed TODO comment to CSLATODO

This commit is contained in:
Rich
2010-09-27 16:07:23 +00:00
parent 6c6676375a
commit fe23fd84e3
60 changed files with 159 additions and 159 deletions

View File

@@ -164,7 +164,7 @@ namespace VEPROMS.CSLA.Library
}
}
private byte[] _LastChanged = new byte[8];//timestamp
// TODO: Check RODbROImage.GetIdValue to assure that the ID returned is unique
// CSLATODO: Check RODbROImage.GetIdValue to assure that the ID returned is unique
/// <summary>
/// Overrides Base GetIdValue - Used internally by CSLA to determine equality
/// </summary>
@@ -173,7 +173,7 @@ namespace VEPROMS.CSLA.Library
{
return MyRODbROImageUnique; // Absolutely Unique ID
}
// TODO: Replace base RODbROImage.ToString function as necessary
// CSLATODO: Replace base RODbROImage.ToString function as necessary
/// <summary>
/// Overrides Base ToString
/// </summary>
@@ -244,7 +244,7 @@ namespace VEPROMS.CSLA.Library
ValidationRules.AddRule(
Csla.Validation.CommonRules.StringMaxLength,
new Csla.Validation.CommonRules.MaxLengthRuleArgs("UserID", 100));
// TODO: Add other validation rules
// CSLATODO: Add other validation rules
}
// Sample data comparison validation rule
//private bool StartDateGTEndDate(object target, Csla.Validation.RuleArgs e)
@@ -261,7 +261,7 @@ namespace VEPROMS.CSLA.Library
#region Authorization Rules
protected override void AddAuthorizationRules()
{
//TODO: Who can read/write which fields
//CSLATODO: Who can read/write which fields
//AuthorizationRules.AllowRead(ImageID, "<Role(s)>");
//AuthorizationRules.AllowRead(FileName, "<Role(s)>");
//AuthorizationRules.AllowWrite(FileName, "<Role(s)>");
@@ -276,18 +276,18 @@ namespace VEPROMS.CSLA.Library
}
public static bool CanAddObject()
{
// TODO: Can Add Authorization
// CSLATODO: Can Add Authorization
//return Csla.ApplicationContext.User.IsInRole("ProjectManager");
return true;
}
public static bool CanGetObject()
{
// TODO: CanGet Authorization
// CSLATODO: CanGet Authorization
return true;
}
public static bool CanDeleteObject()
{
// TODO: CanDelete Authorization
// CSLATODO: CanDelete Authorization
//bool result = false;
//if (Csla.ApplicationContext.User.IsInRole("ProjectManager"))result = true;
//if (Csla.ApplicationContext.User.IsInRole("Administrator"))result = true;
@@ -296,7 +296,7 @@ namespace VEPROMS.CSLA.Library
}
public static bool CanEditObject()
{
// TODO: CanEdit Authorization
// CSLATODO: CanEdit Authorization
//return Csla.ApplicationContext.User.IsInRole("ProjectManager");
return true;
}
@@ -329,7 +329,7 @@ namespace VEPROMS.CSLA.Library
private RODbROImage(string fileName, byte[] content)
{
MarkAsChild();
// TODO: Add any initialization & defaults
// CSLATODO: Add any initialization & defaults
_ImageID = ROImage.NextImageID;
_DTS = _RODbROImageExtension.DefaultDTS;
_UserID = _RODbROImageExtension.DefaultUserID;
@@ -462,7 +462,7 @@ namespace VEPROMS.CSLA.Library
// {
// partial class RODbROImageExtension : extensionBase
// {
// // TODO: Override automatic defaults
// // CSLATODO: Override automatic defaults
// public virtual DateTime DefaultDTS
// {
// get { return DateTime.Now; }