Changed TODO comment to CSLATODO
This commit is contained in:
@@ -143,7 +143,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
private byte[] _LastChanged = new byte[8];//timestamp
|
||||
// TODO: Check RODbROFst.GetIdValue to assure that the ID returned is unique
|
||||
// CSLATODO: Check RODbROFst.GetIdValue to assure that the ID returned is unique
|
||||
/// <summary>
|
||||
/// Overrides Base GetIdValue - Used internally by CSLA to determine equality
|
||||
/// </summary>
|
||||
@@ -152,7 +152,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
return MyRODbROFstUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base RODbROFst.ToString function as necessary
|
||||
// CSLATODO: Replace base RODbROFst.ToString function as necessary
|
||||
/// <summary>
|
||||
/// Overrides Base ToString
|
||||
/// </summary>
|
||||
@@ -218,7 +218,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)
|
||||
@@ -235,7 +235,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(ROFstID, "<Role(s)>");
|
||||
//AuthorizationRules.AllowRead(ROLookup, "<Role(s)>");
|
||||
//AuthorizationRules.AllowWrite(ROLookup, "<Role(s)>");
|
||||
@@ -248,18 +248,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;
|
||||
@@ -268,7 +268,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public static bool CanEditObject()
|
||||
{
|
||||
// TODO: CanEdit Authorization
|
||||
// CSLATODO: CanEdit Authorization
|
||||
//return Csla.ApplicationContext.User.IsInRole("ProjectManager");
|
||||
return true;
|
||||
}
|
||||
@@ -301,7 +301,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private RODbROFst(byte[] rOLookup)
|
||||
{
|
||||
MarkAsChild();
|
||||
// TODO: Add any initialization & defaults
|
||||
// CSLATODO: Add any initialization & defaults
|
||||
_ROFstID = ROFst.NextROFstID;
|
||||
_DTS = _RODbROFstExtension.DefaultDTS;
|
||||
_UserID = _RODbROFstExtension.DefaultUserID;
|
||||
@@ -432,7 +432,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// {
|
||||
// partial class RODbROFstExtension : extensionBase
|
||||
// {
|
||||
// // TODO: Override automatic defaults
|
||||
// // CSLATODO: Override automatic defaults
|
||||
// public virtual DateTime DefaultDTS
|
||||
// {
|
||||
// get { return DateTime.Now; }
|
||||
|
Reference in New Issue
Block a user